Exam 12: Module Py: Coding With Python

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

You can use the float() command to convert input data to an integer.​

Free
(True/False)
4.9/5
(36)
Correct Answer:
Verified

False

An if statement is an example of a selection control structure.​

Free
(True/False)
4.9/5
(36)
Correct Answer:
Verified

True

Which of the following is an arithmetic operator?

Free
(Multiple Choice)
4.8/5
(42)
Correct Answer:
Verified

D

A syntax error occurs when an instruction does not follow the rules of the programming language.

(True/False)
4.9/5
(35)

A() ______ in Python is an ordered group of numbers or strings that is modifiable.

(Short Answer)
4.8/5
(46)

​Which of the following is another term for "subclass"?

(Multiple Choice)
4.9/5
(40)

An object is anything that can be ______.​

(Multiple Choice)
4.8/5
(29)

A program containing a(n) _____ error will run without displaying an error message, but it will not produce the expected result.​

(Short Answer)
4.8/5
(42)

The code for a computer program is based on an algorithm.

(True/False)
4.8/5
(40)

An accumulator is a numeric variable in which values are repetitively subtracted.​

(True/False)
4.8/5
(36)

Which of the following is not a Python syntax rule?​

(Multiple Choice)
4.8/5
(41)

_______ programming is a style of programming that focuses​ on using objects to design and build applications.

(Short Answer)
4.7/5
(31)

In Python, the order of operations dictates that addition and subtraction are performed first.​

(True/False)
4.7/5
(37)

The contents within a parentheses that are passed to a function are called ________.

(Multiple Choice)
4.8/5
(40)

Classes enable programmers to build objects with multiple _______ and define ways for objects to interact with each other.​

(Multiple Choice)
4.9/5
(34)

The code block within every function starts with a semicolon (;).​

(True/False)
5.0/5
(40)

Which of the following is considered to be a common data type?​

(Multiple Choice)
5.0/5
(31)

Strings in Python are not case sensitive.​

(True/False)
4.7/5
(32)

A place to enter source code for a computer program is called a(n) _______.

(Multiple Choice)
4.8/5
(37)

You can define functions in Python using a _______ statement.

(Multiple Choice)
4.7/5
(38)
Showing 1 - 20 of 89
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)