CS 1101 Unit 1 Practice - University of the People
Quiz Unit 6 The Graded Quiz will test your knowledge of all the materials learned thus far. You will have 30 minutes and 1 attempt to complete the quiz. The results of the quiz will count towards your final grade. Good luck! Attempts allowed: 1 This quiz closed on Wednesday, 27 July 2022, 11:55 PM Time limit: 30 mins Summary of your previous attempts Marks 20.00/20.00 Grade 100.00 out of 100.00 Question 1 Question text What output will the following Python commands produce? percentage = float ( 60 * 100) / 55 print (percentage) Select one: a. percentage b. 109 c. 109. d. 109.0 Feedback The correct answer is: 109. CS 1101 Unit 1 Practice - University of the People CS 1101 Unit 1 Practice - University of the People Question 2 Question text With built in functions, it is generally acceptable to take a "Leap of Faith". Select one: True False Feedback The correct answer is 'True'. Question 3 Question text What is the return type of the Python function shown below? def is_divisible(x, y): return (x % y) == 0 Select one: a. int b. float c. bool d. string e. None Type Feedback Your answer is correct. The correct answer is: bool
Geschreven voor
- Instelling
- University Of The People
- Vak
- CS 1101
Documentinformatie
- Geüpload op
- 30 juli 2024
- Aantal pagina's
- 20
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
cs 1101
-
cs 1101 unit 1 practice university of the people