Exam 8: Computer Programming: Understanding the Basics

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

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

(True/False)
4.8/5
(35)

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

(Short Answer)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(38)

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

(Short Answer)
4.8/5
(37)

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

(Multiple Choice)
4.8/5
(39)

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

(True/False)
4.9/5
(36)

A _____ in Python​ is used by programmers to explain what the code does--it does not show up when the program runs.

(Short Answer)
4.7/5
(33)

The Python programming language has a small vocabulary of how many keywords?

(Multiple Choice)
4.8/5
(36)

The if command is an example of a selection control structure.​

(True/False)
4.9/5
(42)

A sequence of steps for solving a problem or performing a task is called a code editor.​

(True/False)
4.7/5
(39)

The operator != is a comparison operator.​

(True/False)
4.9/5
(32)

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

(True/False)
4.8/5
(35)

Strings in Python are not case sensitive.​

(True/False)
4.7/5
(34)

​To instruct the computer to perform a calculation, programmers use an _______ expression, which contains values and arithmetic operators.

(Short Answer)
4.9/5
(41)

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

(True/False)
4.7/5
(33)

​Computer programming is also known as ______.

(Multiple Choice)
4.8/5
(27)

A ______ is a segment of code that defines an action ​belonging to a class.

(Short Answer)
4.8/5
(30)

A function terminates with the last indented line of code.​

(True/False)
4.9/5
(31)

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

(Multiple Choice)
4.8/5
(40)

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

(True/False)
4.8/5
(36)
Showing 61 - 80 of 90
close modal

Filters

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