Exam 8: Computer Programming: Understanding the Basics

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

A string can contain which of the following?​

(Multiple Choice)
4.9/5
(37)

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

(True/False)
4.8/5
(36)

A _______ control structure tells a computer what to do based on whether a condition is true or false.​

(Short Answer)
4.9/5
(38)

Adding comments generally makes the code ________.

(Multiple Choice)
4.8/5
(29)

Which of the following is a valid variable name in Python​?

(Multiple Choice)
4.9/5
(36)

A programming error is called a ____.​

(Short Answer)
4.8/5
(37)

An object is anything that can be ______.​

(Multiple Choice)
4.8/5
(32)

The term ________ is used by programmers any time two or more characters are connected.​

(Short Answer)
4.8/5
(45)

Logical operators are also known as Boolean operators.​

(True/False)
4.7/5
(33)

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

(Short Answer)
4.7/5
(18)

Which of the following is a concatenation operator?​

(Multiple Choice)
4.8/5
(35)

​Which of the following IDEs are available for Python Programming?

(Multiple Choice)
4.8/5
(32)

Only about 10 keywords are frequently used in Python.

(True/False)
4.7/5
(33)

An instance of a class is said to be __________ (created)from the class.​

(Short Answer)
4.9/5
(38)

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

(Multiple Choice)
4.8/5
(40)

The Python programming language has its own ______, which is a set of rules that defines how it can be written.

(Short Answer)
4.8/5
(34)

You can define functions in Python using the _______ command.​

(Multiple Choice)
4.8/5
(42)

The most famous program in the world is a single line of code that prints "Hello Earth!" on the screen.​

(True/False)
4.8/5
(36)

A class from which attributes and methods can be inherited is called a _______.​

(Short Answer)
4.7/5
(24)

​Which of the following is an arithmetic operator?

(Multiple Choice)
4.8/5
(26)
Showing 21 - 40 of 90
close modal

Filters

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