Ch 2. Quiz

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which mathematical operator is used to raise five to the second power in Python? / ** ^

**

The program development cycle is made up of _____ steps that are repeated until no errors can be found in the program. five four three six

Five

The output of the following print statement is: print "I\'m ready to begin" Im ready to begin I\'m ready to begin I'm ready to begin 'I\'m ready to begin'

I'm ready to begin

What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed? Flowchart Algorithm Code Pseudocode

Pseudocode

What symbol is used to mark the beginning and end of a string? Slash Asterisk Quotation Comma

Quotation

The line continuation character is a _____. # % & \

\

After the execution of the following statement, the variable sold will reference the numeric literal value as a(n) _____ data type: sold = 256.752 int float str currency

float

A _______ is a diagram that graphically depicts the steps that take place in a program. a. flowchart b. step chart c. code graph d. program graph

flowchart

The _____ built-in function is used to read a number that has been typed on the keyboard. a. input() b. get_input() c. read_ input ( ) d. keyboard ( )

input

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. input output eval_input string_input

input


Conjuntos de estudio relacionados

Chapter 3: Understanding Financial Statements

View Set

Physics 1 Honors: Atoms, Charge, and Static Electricity

View Set

Constitution Historical Background

View Set

Chapter One; The Science of Psychology

View Set