Quizzes Flashcards
T/F: A software developer is the person with the training to design, create, and test computer programs.
True
T/F: All programs are normally stored in ROM and are loaded into RAM as needed for processing.
False
T/F: The CPU understands instructions written in a binary machine language.
True
T/F: The main reason to use secondary storage is to hold data for long periods of time, even when the power supply to the computer is turned off.
True
T/F: RAM is a volatile memory used for temporary storage while a program is running.
True
T/F: The Python language uses a compiler which is a program that both translates and executes the instructions in a high-level language.
False
T/F: IDLE is an alternative method to using a text editor to write, execute, and test a Python program.
True
Programs are commonly referred to as
software
Where does a computer store a program and the data that the program is working with while the program is running?
in main memory
Which computer language uses short words known as mnemonics for writing programs?
Assembly
The process known as the __________ cycle is used by the CPU to execute instructions in a program.
fetch-decode-execute
The __________ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer’s memory.
ASCII
The disk drive is a secondary storage device that stores data by __________ encoding it onto a spinning circular disk.
magnetically
What is the decimal value of the following binary number?
10011101
157
What is the largest value that can be stored in one byte?
255
T/F: Comments in Python begin with the # character.
True
T/F: When using the camelCase naming convention, the first word of the variable name is written in lowercase and the first characters of all subsequent words are written in uppercase.
True
T/F: According to the behavior of integer division, when an integer is divided by an integer, the result will be a float.
False
T/F: Python formats all floating-point numbers to two decimal places when outputting with the print statement.
False
T/F: A flowchart is a tool used by programmers to design programs.
True
T/F: In Python, math expressions are always evaluated from left to right, no matter what the operators are.
False
T/F: Computer programs typically perform three steps: input is received, some process is performed on the input, and output is produced.
True
What is the informal language, used by programmers use to create models of programs, that has no syntax rules and is not meant to be compiled or executed?
pseudocode
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.
input()