In: Computer Science
Random Access Memory (RAM) is _______________ type of memory because the contents are erased when the computer is turned off and is therefore used only for temporary storage while a program is running.
In Python, the % arithmetic operator gives the ______________________ when one integer is divided by another.
_______________ storage is the general name given to storage that can hold data for long periods of time, even when there is no power to the computer.
Python uses ______________________ to categorize values in memory so that it can tell the differences among integers, floating point numbers, and strings .
The binary number for 37 is _____________.
The step in the programming development life-cycle where the task of the program is understood and steps that must be taken to perform the task are determined is ________________.
A(n) __________ decision structure provides only one block of statements as a path to be executed conditionally.
A table that lists Boolean expressions and shows all possible true and false outcomes from compound combinations of the connected Boolean expressions is called a(n) _______________ table.
The general name given to data such as 72, 'A', "Hello", 2.8712 as it appears in a program is ______________
1) Random Access Memory (RAM) is _______________ type of memory because the contents are erased when the computer is turned off and is therefore used only for temporary storage while a program is running.
Ans: Volatile
2) In Python, the % arithmetic operator gives the ______________________ when one integer is divided by another.
Ans: Reminder
Example:
3%2 = 1
5%3 = 2
3) _______________ storage is the general name given to storage
that can hold data for long periods of time, even when there is no
power to the computer.
Ans: Non-Volatile
4) Python uses ______________________ to categorize values in
memory so that it can tell the differences among integers, floating
point numbers, and strings .
Ans: built-in function type
Python Uses the built-in function type to find out what type a
value
5) The binary number for 37 is _____________.
37 = 2*18 + 1
18 = 2* 9 + 0
9 = 2 * 4 + 1
4 = 2 * 2 + 0
2 = 2 * 1 + 0
1 = 2 * 0 + 1
Binary : 100101
Ans : 100101
6) The step in the programming development life-cycle where the task of the program is understood and steps that must be taken to perform the task are determined is ________________.
Ans: PDLC - Defining the problem
7) A(n) __________ decision structure provides only one
block of statements as a path to be executed conditionally.
Ans: single alternative decision structure
in Python, we use the if statement to write this
8) A table that lists Boolean expressions and shows all possible
true and false outcomes from compound combinations of the connected
Boolean expressions is called a(n) _______________ table.
Ans: Truth Table
9) The general name was given to data such as 72, 'A', "Hello",
2.8712 as it appears in a program is -----
Ans: Literals or constants