Question

In: Computer Science

Random Access Memory (RAM) is _______________ type of memory because the contents are erased when the...

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 ______________  

Solutions

Expert Solution

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


Related Solutions

summary of the history of RAM memory?
summary of the history of RAM memory?
In a memory system, when the access time of the cache is 10ns and the access...
In a memory system, when the access time of the cache is 10ns and the access time of the main memory is 50ns, what is the hit ratio of the cache if the effective access time is 10% larger than the access time of the cache? (Up to 4 digits below the decimal point) please detail explanation
In a computer system with multiple types of memory (such as RAM and ROM), how does...
In a computer system with multiple types of memory (such as RAM and ROM), how does the computer identify where memory is stored?
If(PSW)=0x10, which memory units are the current Ro-R7 in the internal RAM?
If(PSW)=0x10, which memory units are the current Ro-R7 in the internal RAM?
Design a random-access digital memory that can write or read single bits in two addressable SRFFs...
Design a random-access digital memory that can write or read single bits in two addressable SRFFs having 3-bit addresses 5 and 7. The memory has the following inputs and outputs. Address input lines A2, A1, A0, Data input line DIN, and Data output line DOUT, Read/Write input line RW (RW = 0 stores DIN into addressed memory. RW = 1 puts addressed memory data on DOUT)
11. Suppose that a 32M × 16 memory built using 512K × 8 RAM chips and...
11. Suppose that a 32M × 16 memory built using 512K × 8 RAM chips and memory is word-addressable. a) How many RAM chips are necessary?   b) If we were accessing one full word, how many chips would be involved? c) How many address bits are needed for each RAM chip? d) How many banks will this memory have? e) How many address bits are needed for all of memory? f) If high-order interleaving is used, where would address 14...
a) Which lines of code contain operations that change the contents of memory in this program?...
a) Which lines of code contain operations that change the contents of memory in this program? b) What are those operations? int main ( void ){             double dScore1;             double dScore2;             double dScore3;             double dAverage;             printf("Enter score 1: ");                                             //line 1             scanf("%lg", &dScore1);                                           //line 2             printf("Enter score 2: ");                                             //line 3             scanf("%lg", &dScore2);                                           //line 4             printf("Enter score 3: ");                                             //line 5             scanf("%lg", &dScore3);                                           //line 6             dAverage = (dScore1 + dScore2...
Assume a 64Kx8 Memory is designed using 16Kx1 RAM chips. How many address lines must be...
Assume a 64Kx8 Memory is designed using 16Kx1 RAM chips. How many address lines must be decoded externally to each 16K RAM chip?
1. Wite a program to exchange the contents of memory locations 2050H and 2370H using STA...
1. Wite a program to exchange the contents of memory locations 2050H and 2370H using STA and LDA instructions.
You are running a memory-intensive multimedia application onyour computer, which has 1 GB RAM installed....
You are running a memory-intensive multimedia application on your computer, which has 1 GB RAM installed. You observe that the computer momentarily stops responding when you switch between two multimedia applications. Your friend suggests upgrading the RAM to 2 GB to correct the performance problems.Do you agree with your friend? Specify reasons.Is there any other way to solve the performance problem? Justify your answer.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT