Computer Science > EXAM > CS1101: Programming Fundamentals: Final Exam and Graded Quiz. latest document (All)
Question 1 Correct Mark 1.00 out of 1.00 Consider the following text from a Python interpreter. >>> print(2 + 2) 4 W hat is the text "4" called? Seleect one: a. a function b. an operator c. a ... prompt d. a statement e. a value Your answer is correct. The correct answer is: a value question 2 Correct Mark 1.00 out of 1.00 What output will the following Python 3 statement produce? >>> print (1,000,000) Select one: a. 1.0 b. 1,000,000 c. 1 0 0 d. Error invalid type The correct answer is: 1 0 0 Question 3 Incorrect Mark 0.00 out of 1.00 What is the output of the following Python statements? percentage = ( 60 * 100) // 55 print (percentage) Select one: a. percentage b. 109 c. 109.0909090909091 d. 109.0 Your answer is incorrect. The correct answer is: 109 Question 6 Correct Mark 1.00 out of 1.00 What do we call the value provided to a function when the function is called (which is assigned to the corresponding parameter in the function)? Select one: a. argument b. return value c. method d. the special value None e. global variable Your answer is correct. The correct answer is: argument Question 7 Correct Mark 1.00 out of 1.00 What output will the following Python statements produce? >>> n = 17 >>> print (n) Select one: a. 0 b. 17.0 c. n d. 17 The correct answer is: 17 [Show More]
Last updated: 1 year ago
Preview 1 out of 205 pages
exam questions and correct answers
By Prof.Pierro 2 years ago
$13
12
Connected school, study & course
About the document
Uploaded On
Jun 11, 2021
Number of pages
205
Written in
This document has been written for:
Uploaded
Jun 11, 2021
Downloads
0
Views
89
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·