Python Study guide #1

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Question 5 What is the decimal value of the following binary number? 10011101 Answers: 8 156 157 28

157

Question 16 What is the largest value that can be stored in one byte? Answers: 128 255 65535 8

255

Question 30 In which of the following jobs are you likely to use a computer? Answers: traveling sales professional CEO of a multinational corporation check-out clerk at the grocery store auto mechanic at the local garage All of the above

All of the above

Question 25 Which computer language uses short words known as mnemonics for writing programs? Answers: Java Pascal Assembly Visual Basic

Assembly

Question 24 Which language is referred to as a low-level language? Answers: Assembly language C++ Java Python

Assembly language

Question 4 The smallest storage location in a computer's memory is known as a Answers: bit ketter switch byte

Bit

Question 9 Which of the following is not a microprocessor manufacturing company? Answers: Motorola Intel Dell AMD

Dell

Question 20 Which of the following is considered to be the world's first programmable electronic computer? Answers: ENIAC IBM Dell Gateway

ENIAC

Question 21 All programs are normally stored in ROM and are loaded into RAM as needed for processing. Answers: True False

False

Question 26 A bit that is turned off is represented by the value -1. Answers: True False

False

Question 27 Computers are designed to do just one job. Answers: True False

False

Question 7 What type of volatile memory is usually used only for temporary storage while running a program? Answers: RAM TVM TMM ROM

RAM

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

True

Question 2 RAM is a volatile memory used for temporary storage while a program is running. Answers: True False

True

Question 14 A software developer is the person with the training to design

create, and test computer programs. Answers: True False, True

Question 15 IDLE is an alternative method to using a text editor to write

execute, and test a Python program. Answers: True False, True

Question 12 The process known as the ________ cycle is used by the CPU to execute instructions in a program. Selected Answer: Correct fetch-decode-execute Answers: decode-fetch-execute fetch-decode-execute decode-execute-fetch fetch-execute-decode

fetch-decode-execute

Question 10 Where does a computer store a program and the data that the program is working with while the program is running? Answers: in main memory in the CPU in the microprocessor in secondary storage

in main memory

Question 18 Programs are commonly referred to as Answers: utility programs software system software application software

software

Question 23 A ________ has no moving parts and operates faster than a traditional disk drive. Answers: DVD drive jumper drive solid state drive hyper drive

solid state drive

Question 17 Which type of error prevents the program from running? Answers: human grammatical logical syntax

syntax

Question 28 Internally the central processing unit (CPU) consists of two main parts: Answers: input devices and output devices software and hardware the arithmetic and logic unit (ALU) and the control unit single-task devices and multi-task devices the compiler and the linker

the arithmetic and logic unit (ALU) and the control unit

Question 3 Which of the following is not a major component of a typical computer system? Answers: the operating system secondary storage devices the CPU main memory

the operating system

Question 11 The CPU understands instructions written in a binary machine language. Answers: True False

true

Question 8 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. Answers: True False, True

Question 6 A computer is a single device that performs different types of tasks for its users. Answers: False True

False

The Python language uses a compiler which is a program that both translates and executes the instructions in a high-level language. Selected Answer: Answers: True False

False

Question 29 A program that schedules airline flights is a type of Answers: system software operating system application software structured program unstructured program

application software

Question 13 The following is an example of an instruction written in which computer language? 10110000 Answers: machine language C# Java Assembly language

machine language

Question 22 The disk drive is a secondary storage device that stores data by ________ encoding it onto a spinning circular disk. Answers: optically magnetically digitally electrically

magnetically


Kaugnay na mga set ng pag-aaral

Blood Bank II: Autoimmune Hemolytic Anemias

View Set

STC series 7 Closed book (missed/marked)

View Set

Nazi Germany and the Holocaust Final Exam

View Set

Pharm Chapter 22 - Psychotherapeutic Agents

View Set

AP Physics Multiple Choice Review

View Set

APUSH Chapter 19 Review Questions

View Set

Advanced Biology Reproduction Unit

View Set

Demonstrate Rifle Marksmanship Skills 2

View Set