Python Chapter 1

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

What is the largest value that can be stored in one byte?

A, 255

Where does a computer store a program and the data that the program is working with while the program is running?

A, In Main Memory

Which type of error prevents the program from running?

A, Syntax

Which computer language uses short words known as mnemonics for writing programs?

A, assembly

The __________ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer's memory.

B, ASCII

Which language is referred to as a low-level language?

B, Assembly Language

Which of the following is not a microprocessor manufacturing company?

B, Dell

Programs are commonly referred to as

B, Software

The disk drive is a secondary storage device that stores data by __________ encoding it onto a spinning circular disk.

B, magnetically

A __________ has no moving parts and operates faster than a traditional disk drive.

B, solid state drive

Which of the following is considered to be the world's first programmable electronic computer?

C, ENIAC

What type of volatile memory is usually used only for temporary storage while running a program?

C, RAM

The process known as the __________ cycle is used by the CPU to execute instructions in a program.

C, fetch-decode-execute

The following is an example of an instruction written in which computer language?

C, machine language

Which of the following is not a major component of a typical computer system?

C, operating system

The smallest storage location in a computer's memory is known as a

D, bit

The encoding technique used to store negative numbers in the computer's memory is called

D, two's complement

A bit that is turned off is represented by the value -1.

False

A computer is a single device that performs different types of tasks for its users.

False

All programs are normally stored in ROM and are loaded into RAM as needed for processing.

False

The Python language uses a compiler which is a program that both translates and executes the instructions in a high-level language.

False

A software developer is the person with the training to design, create, and test computer programs.

True

IDLE is an alternative method to using a text editor to write, execute, and test a Python program.

True

RAM is a volatile memory used for temporary storage while a program is running.

True

The CPU understands instructions written in a binary machine language.

True

The instruction set for a microprocessor is unique and is typically understood only by the microprocessors of the same brand.

True

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.

True

What is the decimal value of the following binary number? 10011101

c. 156


Kaugnay na mga set ng pag-aaral

The Square Root Function / Assignment

View Set

isom 300 final: questions from book

View Set

cultural globalization and the globalization of cultures

View Set

Adaptive Quizzing Set #4 (Care of Newborn)

View Set

Biology Semester 1 Exam Study Guide

View Set