



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Larry Caretto delivered this lecture in Computing in Engineering and Science course. Key points in this lecture are: Data Types, Memory, Computer Memory, Integer Data Types, Floating Point Data Types, Approximate Representation, Constant Types, Declaring Variables
Typology: Slides
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Larry Caretto Computer Science 106
2
3
5
Address
Variable name
Value
7
8
9
10
11
19
20
21
22
23
double maxAllowedError = 1e-13;
bool converged = false; int maxIterations = 100;
double radius = 10; char c = ’9’; string name = “CSUN”;
double x, y; char YES = ‘Y’, NO = ‘N’;
int x = 2, // length y = 4, // width z = 7; // height
int x; // length int y; // width int z; // height
24
25
26