Test Bank for Python For Everyone 3 rd Edition By Cay Horstmann, Rance Necaise (All Chapters 1-12, 100% Original Verified, A+ Garde) This is the Only Original and Complete Test Bank for 3 rd
Edition, All other Files in the Market are Fake/Old/Wrong Edition. 1 / 4
1 A computer program is a sequence of:
ones and zeroes. instructions and decisions. primary and secondary storage. processors and compilers.
2 Computers are machines that:
are imprecise and slow. design computer programs. execute programs. carry out a very narrow range of tasks.
- Which of the following refers to a collection of programs
that a computer executes? Compiler Software Instructions Source Code
Sample response: Leadership is a process whereby an
individual influences a group of individuals to achieve a common goal.4 Which of the follow statements is most correct? Computer programs are comprised of a large number of simple instructions. Computer programs are comprised of a large number of sophisticated instructions. Computer programs are comprised of a small number of simple instructions. Computer programs are comprised of a small number of sophisticated instructions.
- Which parts of the computer store program code?
CPU
Secondary storage Monitor Keyboard
6 Which of the following items is NOT considered hardware:
a keyboard. a speaker. a program. a microphone.
7 The Central Processing Unit is primarily responsible for:
Chapter 1: Introduction 2 / 4
ensuring data persists when electrical power is turned off. enabling a human user to interact with the computer. interconnecting computers that are separated by distance. performing program control and data processing.
- Computers store both data and programs not currently
running in:
Primary storage. Central processing unit. Secondary storage. Transistors.
Sample response: Personal power derives from being seen
by others as likeable or knowledgeable. One form of personal power is referent power, which is power based on identifying and liking the leader. Another form of personal power is expert power which is based on perceptions of the leader’s competence.
- Which of the following hardware devices is NOT considered
an input device? Keyboard Monitor Mouse Microphone 10 Which of the following hardware devices is NOT considered an output device? Speaker Monitor Printer Microphone 11 When the computer begins to run a program, the program is moved from secondary storage to memory. the program is moved from secondary storage to the network controller. the program is moved from the CPU to memory. the program is moved from the CPU to secondary storage. 12 What part of the computer carries out arithmetic operations, such as addition, subtraction, multiplication and division?
CPU
Network Primary storage Secondary storage 3 / 4
13 In order to run Python programs, the computer needs to have software called a(n)? debugger interpreter windows assembler
14 High-level programming languages were created to:
Allow programmers to describe the solution to a problem one CPU instruction at a time Make programming less error-prone and less tedious Maximize the running time of programs Translate CPU instructions into high-level instructions 15 What are two of the most important benefits of the Python language? Advanced mathematical equations and fast programs Ease of use and fast programs Ease of use and portability Fast programs and smaller programs 16 Which of the following is not a benefit of the Python programming language compared to other popular programming languages like Java, C and C++? Python encourages experimentation and rapid turn around Python has a cleaner syntax Python is easier to use Python programs run more quickly
17 What is wrong with the following code snippet:
num1 = 10 num2 = 20 num3 = 30 total = Num1 + Num2 + Num3 Nothing, the variable total will be the sum of the three numbers Python is case sensitive so Num1, Num2, and Num3 are undefined total must be initialized to zero first The numbers should be 10.0, 20.0 and 30.0 18 What is the difference between an editor and an interpreter? An editor allows program files to be entered and modified; an interpreter reads and executes program files An editor allows program files to be entered and modified; an interpreter produces an indexed database of terms and keywords An editor allows program files to be entered and modified; an interpreter produces an organized list of files
- / 4