Exam 12: Programming

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

 A class attribute defines the characteristics of a set of _______. 

(Multiple Choice)
4.7/5
(43)

 The code block within every function starts with a semi-colon (;).​ 

(True/False)
4.8/5
(35)

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

(Short Answer)
5.0/5
(33)

 In object-oriented jargon, ______ refers to passing certain characteristics from one class to the other classes.​

(Short Answer)
4.9/5
(38)

 An error in a program code is referred to as a tick.​ 

(True/False)
4.9/5
(46)

 ​There is no limit on the number of elif statements that can follow an if statement. 

(True/False)
4.9/5
(43)

 The section of code that repeats is referred to as a _____ or an _______.​

(Short Answer)
4.8/5
(40)

 The type of data that a variable can hold is referred to as its ______.​

(Short Answer)
4.9/5
(32)

 Putting data in a variable is referred to as assigning a ____ to it.​

(Short Answer)
4.9/5
(36)

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

(True/False)
4.9/5
(40)

 Python keywords, such as print and class, are not allowed as variable names.​ 

(True/False)
4.8/5
(38)

 The control statement for a for-loop begins with what command word?​ 

(Multiple Choice)
4.9/5
(30)

 Which of the following words is a logical operator in Python?​ 

(Multiple Choice)
4.9/5
(41)

 Instructions that tell a computer what to do are referred to as code.​ 

(True/False)
4.9/5
(27)

 A ____ is a named memory location that holds data specified by a programmer or entered by an end user.​

(Short Answer)
4.8/5
(37)

 ​Which of the following is an arithmetic operator? 

(Multiple Choice)
4.9/5
(34)

 The operator != is a comparison operator.​ 

(True/False)
4.8/5
(42)

 Before you can increment or decrement a variable, you have to _______ it.​

(Short Answer)
4.8/5
(30)

 ​Computer programming is also known as ______. 

(Multiple Choice)
4.7/5
(38)

 In Python, using the keyword _____ means you want the computer to display something on the screen.​

(Short Answer)
5.0/5
(43)
Showing 21 - 40 of 90
close modal

Filters

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