Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Login

Register Now

Welcome to All Test Answers

Gaddis Python 2e Chapter 01


 

Download  file with the answers

If you are not a member register here to download this file 


 

Chapter One

MULTIPLE CHOICE

1. Programs are commonly referred to as _____.
a. system software
b. software
c. application software
d. utility programs

2. Which of the following is considered to be the world’s first programmable electronic computer?
a. IBM
b. DELL
c. ENIAC
d. GATEWAY

3. Where does a computer store a program and the data that the program is working with while the program is running?
a. Main memory
b. CPU
c. Disk
d. Microprocessor

4. What type of volatile memory is usually used only for temporary storage while running a program?
a. ROM
b. TMM
c. RAM
d. TVM

5. Which of the following is not a microprocessor manufacturing company?
a. Intel
b. Dell
c. AMD
d. Motorola

6. Which computer language uses short words known as mnemonics for writing programs?
a. Assembly
b. Java
c. Pascal
d. Visual Basic

7. The process known as the _____ cycle is used by the CPU to execute instructions in a program.
a. decode-fetch-execute
b. decode-execute-fetch
c. fetch-decode-execute
d. fetch-execute-decode

8. Which language from the following list is referred to as a low-level language?
a. C++
b. Assembly language
c. JAVA
d. Python

9. The following is an example of an instruction written in which computer language?
10110000
a. Assembly language
b. JAVA
c. Machine language
d. C #

10. What is the encoding technique called that is used to store negative numbers in the computer’s memory?
a. Unicode
b. ASCII
c. floating-point notation
d. two’s complement

11. The _____ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer memory.
a. Unicode
b. ASCII
c. ENIAC
d. twos complement

ANS: B

12. What is the largest value that can be stored in one byte?
a. 255
b. 128
c. 8
d. 65535

13. The smallest storage location in a computer’s memory is known as a _____.
a. byte
b. ketter
c. switch
d. bit

14. The disk drive is a secondary storage device that stores data by _____ encoding it onto circular disks.
a. electrically
b. magnetically
c. digitally
d. optically

15. Which of these is not a major component of a typical computer system?
a. Central processing unit
b. Main memory
c. Operating system
d. Secondary storage devices

TRUE/FALSE

1. True/False: A software developer is the person with the training to design, create, and test computer programs.

ANS: T

2. True/False: A computer is a single device that performs different types of tasks for its users.

ANS: F

3. True/False: The CPU is able to quickly access data stored at any random location in ROM.

ANS: F
4. True/False: All programs are normally stored in ROM and loaded into RAM as needed for processing.

ANS: F

5. True/False: The instruction set for a microprocessor is unique and is typically understood only by the microprocessors of the same brand.

ANS: T

6. True/False: The CPU understands instructions written in a binary machine language.

ANS: T

7. True/False: A bit that is turned off is represented by the value -1.

ANS: F

8. True/False: The main reason for using secondary storage is to hold data for long periods of time, even when the power supply to the computer is turned off.

ANS: T

9. True/False: RAM is a volatile memory used for temporary storage while a program is running.

ANS: T

10. True/False: The Python language uses a compiler, which is a program that both translates and executes the instructions in a high level language.

ANS: F

FILL IN THE BLANK

1. A(n) _______________ is a set of instructions that a computer follows to perform a task.

ANS: program

2. The term _______________ refers to all of the physical devices that a computer is made of.

ANS: hardware

3. The _______________ is the part of a computer that actually runs programs and is the most important component in a computer.

ANS: central processing unit or CPU

4. _______________ are small central processing unit chips.

ANS: Microprocessors

5. Main memory is commonly known as _______________.

ANS: random-access memory or RAM

6. _______________ is a type of memory that can hold data for long periods of time, even when there is no power to the computer.

ANS: Secondary storage

7. A disk drive stores data by _______________ encoding it onto a circular disk.

ANS: magnetically

8. The disadvantages of a(n) _______________ are that it only holds small amounts of data, is slow to access data, and can be unreliable.

ANS: floppy disk

9. The Python _______________ is a program that can read Python programming statements and execute them.

ANS: interpreter

10. In _______________ mode, the interpreter reads the contents of a file that contains Python statements and executes each statement.

ANS: script

About

Leave a reply

Captcha Click on image to update the captcha .

error: Content is protected !!