Computer Science > EXAM > CS1101: Programming Fundamentals: Final Exam and Graded Quiz. latest document (All)

CS1101: Programming Fundamentals: Final Exam and Graded Quiz. latest document

Document Content and Description Below

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: 2 years ago

Preview 1 out of 205 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Also available in bundle (1)

computer programming questions and answers

exam questions and correct answers

By Prof.Pierro 4 years ago

$13

12  

Reviews( 0 )

$9.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

147
0

Document information


Connected school, study & course


About the document


Uploaded On

Jun 11, 2021

Number of pages

205

Written in

Seller


seller-icon
Prof.Pierro

Member since 4 years

255 Documents Sold

Reviews Received
31
7
3
0
0
Additional information

This document has been written for:

Uploaded

Jun 11, 2021

Downloads

 0

Views

 147

Document Keyword Tags


$9.00
What is Scholarfriends

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 are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·