Python Exam 1: Multiple Choice Questions with Correct Answers
Python Exam 1: Multiple Choice Questions with Correct Answers What is the informal language, used by programmers use to create models of programs, that has no syntax rules and is not meant to be compiled or executed? a. flowchart b. algorithm c. source code d. pseudocode - Correct Answer️️ -d. pseudocode A(n) ________ is a diagram that graphically depicts the steps that take place in a program. a. flowchart b. algorithm c. source code d. pseudocode - Correct Answer️️ -a. flowchart The ________ function reads a piece of data that has been entered at the keyboard and returns that piece of data, as a string, back to the program. a. input()PDF DOCUMENT b. output() c. eval_input() d. str_input() - Correct Answer️️ -a. input() The line continuation character is a a. # b. % c. & d. - Correct Answer️️ -d. Which mathematical operator is used to raise 5 to the second power in Python? a. / b. ** c. ^ d. ~ - Correct Answer️️ -b. ** In a print statement, you can set the ________ argument to a space or empty string to stop the output from advancing to a new line. a. stop b. end c. separator d. newLine - Correct Answer️️ -b. end After the execution of the following statement, the variable sold will reference the numeric literal value as (n) ________ data type
Written for
- Institution
- Python Programming
- Course
- Python Programming
Document information
- Uploaded on
- June 17, 2024
- Number of pages
- 10
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
python exam 1 multiple choice questions with corr
Also available in package deal