CS180 Quiz Questions with complete solutions
What is the most important aspect of the von Neumann architecture that allows computer software to run so fast? correct answer: Software is stored in memory along with the data What is an algorithm? correct answer: Step-by-step series of instructions to solve a problem What is the two's complement representation of -37 using an 8-bit word? correct answer: 37 (base 10) to base 2 is Fill to 8 bits = Flip bits (one's complement) = Add one (two's complement) = What is the two's complement representation of -52 using an 8-bit word? correct answer: 52 (base 10) to base 2 is Fill to 8 bits = Flip bits (one's complement) = Add one (two's complement) = In Java what does the type of a variable tell you? correct answer: The set of values the variable can contain and the set of allowable operations on those values What is 23%7 for a Java integer? correct answer: 2
Written for
- Institution
- CSC - Cyber Secure Coder
- Course
- CSC - Cyber Secure Coder
Document information
- Uploaded on
- May 19, 2023
- Number of pages
- 14
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cs180 quiz questions with complete solutions
Also available in package deal