CS 1101 final exam 163 most likely questions with correct answers Programming Fundamentals University of the People
CS 1101 final exam 163 most likely questions with correct answers Programming Fundamentals University of the People Expressions evaluate to either true or false. What will the output of the following code be when the expression "Ni!" is evaluated? if "Ni!": print ('We are the Knights who say, "Ni!"') else: print ("Stop it! No more of this!") Select one: a. Stop it! b. We are the Knights who say, "Ni!" Correct c. Stop it! No more of this!" d. No output will be produced - CORRECT ANSWER We are the Knights who say, "Ni!" How many different values can a Boolean expression have? Select one: a. 3 b. 2 Correct c. infinite number d. 1 e. not defined
Written for
- Institution
- University Of The People
- Course
- CS 1101 Programming Fundamentals
Document information
- Uploaded on
- April 20, 2024
- Number of pages
- 67
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Unknown
Subjects
- programming fundamentals
- cs 1101
- cs 1101 final exam 163
-
cs 1101 university of the people
Also available in package deal