Computer Science > EXAM > CS 1101 Programming Fundamentals Learning Guide Final Exam and Graded Quizzes Compilation | Contains (All)
CS 1101 Programming Fundamentals Learning Guide Final Exam and Graded Quizzes Compilation | Contains over 350 Commonly Tested Questions With Answers Consider the following text from a Python interpre... ter. >>> print(2 + 2) 4 What is the text "4" called? Select 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 4 Correct Mark 1.00 out of 1.00 Consider the following text from a Python interpreter. >>> print(2 + 2) 4 What is the text "+" called? Select one: a. a function b. an operator c. a prompt d. a statement e. a value Your answer is correct. The correct answer is: an operator Question 5 Correct Mark 1.00 out of 1.00 The % or modulus operator returns the remainder from dividing two numbers. Select one: True False The correct answer is 'True'. [Show More]
Last updated: 4 months ago
Preview 10 out of 205 pages
Loading document previews ...
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Jun 07, 2021
Number of pages
205
Written in
This document has been written for:
Uploaded
Jun 07, 2021
Downloads
0
Views
120
In Scholarfriends, 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 © Scholarfriends · High quality services·