CS 1113 INTRODUCTION TO COMPUTING
Instructor: Dr. Tim Gilmour
FALL 2015 SYLLABUS
Office: BTC 104
Phone: (479) 524-7319
TIME/PLACE:
M,W,F 3:00pm-3:50pm WSC223 (Walker)
E-mail: tgilmour@jbu.edu
TEXTBOOK:
Problem Solving with C+, 9th Edition, Walter Savitch,
Jake Caudle worked with Josh Rhodius
Lab 4
September 25, 2015
CS 1113 Introduction to Computing
Exercise 4.1
/ Lab4_1.cpp This C+ program computes the value of a to the power of b (a^b) for three cases.
#include <iostream>
#include <cmath>
using namespace
Jake Caudle
Lab 3
September 16, 2015
CS 1113 Introduction to Computing
Exercise 3.1
The difference between H and I is that H has the division by 0 first
in the operator which causes the run time error whereas I the division
by 0 is in the second part of t
Jake Caudle
Lab 2
September 8, 2015
CS 1113 Introduction to Computing
Exercise 2.1
A) x -= 4*5;
B) x %= 16/2;
C) x /= 18%4;
(4)
(6)
(-8)
Exercise 2.2
/ Lab2_1.cpp - This program asks for an age and displays the cost of
the ticket
#include <iostream>
using
Jake Caudle
Lab 1
August 30, 2015
CS 1113 Introduction to Computing
Exercise 1.1
1.
2.
3.
4.
Ask question Do you have a zero balance on your bill?
Input answer yes or no
If answer is no then send students to the hall 18 Go to Hall 18
If the answer is yes
modulation): Digital signal analog signal
Figure 3.23 Bandwidth of a bandpass channel
3.70
If the available channel is a bandpass, i.e., the channel lower bound freq., flow, can be any non zero value, we need to convert our digital signal to anal
Digital Signals
Figure 3.16 Two digital signals: one with two signal levels and the other
with four signal levels
3.50
Bit Rate: non-periodic digital signals are the most used in digital data transfer, hence period or frequency are not used, ins
Composite Signals: Every composite signal is made of many sine waves of different amps, freqs, phases. (Fourier analysis)
A periodic composite signal can be decomposed into a number of signals with discrete frequencies in the frequency domain.
Where
Figure 3.4 Two signals with the same amplitude and phase,
but different frequencies
3.15
Figure 3.5 Three sine waves with the same amplitude and frequency,
but different phases
3.23
Wave length: It relates the frequency / period of a signal to it
Data and Signals Data must be transformed to electronic signals (why?)
Analog data:Continuous information, e.g., voice has a value at any time. Analog clock have values at any time!
Digital data: Discrete state information. e.g., digital clock.
Ana