Section 1

Preview this deck

Five

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

1

All-time users

2

Favorites

0

Last updated

5 years ago

Date created

Mar 1, 2020

Cards (25)

Section 1

(25 cards)

Five

Front

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

Back

False

Front

True/False: According to the behavior of integer division, when an integer is divided by an integer, the result will be a float.

Back

True

Front

True/False: A flowchart is a tool that programmers use to design programs.

Back

input

Front

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.

Back

**

Front

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

Back

True

Front

True/False: Python allows programmers to break a statement into multiple lines.

Back

I'm ready to begin

Front

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

Back

True

Front

True/False: Comments in Python begin with the # character.

Back

False

Front

True/False: In Python, math expressions are evaluated from left to right, no matter what the operators are.

Back

True

Front

True/False: When using the camelCase naming convention, the first word of the variable name is written in lowercase letters and the first character of the second and subsequent words are written in uppercase letters.

Back

True

Front

True/False: Computer programs typically perform three steps: Input is received, some process is performed on the input, and output is produced.

Back

68

Front

After the execution of the following statement, the variable price will reference the value _____. price = int(68.549)

Back

False

Front

True/False: Python formats all floating-point numbers to two decimal places when outputting using the print statement.

Back

Logic

Front

What type of error produces incorrect results but does not prevent the program from running?

Back

True

Front

True/False: In Python, print statements written on separate lines do not necessarily output on separate lines.

Back

Flowchart

Front

A(n) _____ is a diagram that graphically depicts the steps that take place in a program.

Back

Psuedocode

Front

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?

Back

End

Front

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.

Back

\

Front

The line continuation character is a _____.

Back

The path is D:\sample\test.

Front

What is the output of the following print statement? print('The path is D:\\sample\\test.')

Back

True

Front

True/False: The \t escape character causes the output to skip over to the next horizontal tab.

Back

24.0

Front

If value1 is 2.0 and value2 is 12, what is the output of the following command? print(value1 * value2)

Back

Float

Front

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

Back

input()

Front

The _____ built-in function is used to read a number that has been typed on the keyboard.

Back

Quotations

Front

What symbol is used to mark the beginning and end of a string?

Back