CS 180: Exam 1 Questions With Complete Solutions
ASCII Codes correct answer: 0-1 = 48-57 A-Z = 65-90 a-z = 97-122 DigitsUpperLower Main Memory correct answer: -called RAM (random access memory) -volatile and used for temporary storage -one byte can store 1 letter or small number -bytes are identified by its address Component of Hardware correct answer: -Central processing unit (CPU) -main memory -secondary storage devices -input devices -output devices coercion rules correct answer: 1) char, short, unsigned short automatically promoted to int 2) When operating on values of different data types, the lower one is promoted to the type of the higher one. 3) When using the = operator, the type of expression on right will be converted to type of variable on left Data Type correct answer: a set of values and a set of operations defined on those values Components of a program correct ans
Written for
- Institution
- CSC - Cyber Secure Coder
- Course
- CSC - Cyber Secure Coder
Document information
- Uploaded on
- May 19, 2023
- Number of pages
- 7
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cs 180 exam 1 questions with complete solutions
Also available in package deal