Introduction to Computers and Programming

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/89

flashcard set

Earn XP

Description and Tags

Last updated 4:48 PM on 8/23/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

90 Terms

1
New cards

What is a computer program?

A set of instructions that a computer follows to perform a task.

2
New cards

What is software?

Programs that run on a computer; programs are commonly referred to as software.

3
New cards

Who creates computer software?

Programmers or software developers, who design, create, and test computer programs.

4
New cards

What is computer hardware?

The physical devices that a computer is made of.

5
New cards

What are the five main components of a computer system?

Central Processing Unit (CPU), main memory, secondary storage, input devices, and output devices.

6
New cards

What is the CPU?

The part of a computer that runs programs; it is often called the processor.

7
New cards

What happens if a computer has no CPU?

It cannot run software.

8
New cards

What does it mean to execute a program?

The computer performs the tasks that the program tells it to do.

9
New cards

What was ENIAC?

The world's first programmable computer.

10
New cards

When was ENIAC built?

1945.

11
New cards

What was ENIAC designed to calculate?

Artillery ballistic tables for the U.S. Army.

12
New cards

How large was ENIAC's CPU according to the lecture?

It was 8 feet tall, 100 feet long, and weighed 30 tons.

13
New cards

How does a modern microprocessor compare with ENIAC's CPU?

It is much smaller and much more powerful.

14
New cards

What is main memory?

The computer's work area where the running program and its data are stored.

15
New cards

What is main memory commonly called?

Random-access memory (RAM).

16
New cards

What is a key characteristic of RAM?

It is volatile memory used for temporary storage.

17
New cards

What happens to RAM contents when the computer is turned off?

The contents are erased.

18
New cards

What is ROM?

Read-Only Memory; a type of memory whose contents a computer can read but cannot change or add to.

19
New cards

Is ROM volatile or nonvolatile?

ROM is nonvolatile, so it does not lose its contents when power is turned off.

20
New cards

What is ROM typically used for?

Programs important to system operation, such as the computer's startup program.

21
New cards

What is secondary storage?

A type of memory that can hold data for long periods of time.

22
New cards

What is a common type of secondary storage?

A disk drive.

23
New cards

How does a traditional disk drive store data?

By magnetically encoding data onto a circular disk.

24
New cards

Why might an external disk drive be used?

To create backup copies.

25
New cards

What is a solid-state drive (SSD)?

A secondary-storage device that stores data in solid-state memory instead of on a disk.

26
New cards

What are two characteristics of solid-state drives?

They have no moving parts and operate faster than traditional disk drives.

27
New cards

What is a USB drive?

A small device that plugs into a computer's USB port and stores data on flash memory.

28
New cards

What are other names for USB drives?

Memory sticks and flash drives.

29
New cards

What are characteristics of USB drives?

They are inexpensive, reliable, and small.

30
New cards

How do optical devices such as CDs and DVDs store data?

Data is encoded as a series of pits on the disc's surface using a laser.

31
New cards

What are optical discs good for?

They can hold large amounts of data and are good for creating backups.

32
New cards

What is cloud storage?

Storing data on a remote server through the internet or a company's private network.

33
New cards

What is an advantage of cloud storage?

Data can be accessed from many devices and locations where a network connection is available.

34
New cards

What is input?

Any data the computer collects from people or from other devices.

35
New cards

What is an input device?

Hardware that collects data for the computer.

36
New cards

What are common input devices?

Keyboard, mouse, touch screen, scanner, microphone, and digital camera.

37
New cards

What is output?

Any data the computer produces for people or for other devices.

38
New cards

What is an output device?

Hardware that formats and presents data.

39
New cards

What are common output devices?

Monitor and printer.

40
New cards

What are the two categories of software?

System software and application software.

41
New cards

What is system software?

Programs that control and manage the basic operations of a computer.

42
New cards

What does an operating system do?

It controls the internal operations of computer hardware and manages devices connected to the computer.

43
New cards

What do utility programs do?

They perform specialized tasks that enhance the computer's operation or safeguard data.

44
New cards

What are software development tools?

Programs used to create, modify, and test software.

45
New cards

What is application software?

Programs people normally spend most of their time running to perform everyday tasks.

46
New cards

What are examples of application software?

Word processing, spreadsheets, databases, and presentation programs.

47
New cards

How is all data stored in a computer represented?

As sequences of 0s and 1s.

48
New cards

What is a byte?

A tiny storage location in computer memory; in the lecture, one byte represents one number.

49
New cards

How many bits are in one byte?

Eight bits.

50
New cards

What is a bit?

A binary digit; one of the eight smaller storage locations that make up a byte.

51
New cards

What can a bit represent?

A positive or negative electrical charge, corresponding to 1 or 0.

52
New cards

What does binary digit 1 represent in the lecture?

A positive charge or the switch's on position.

53
New cards

What does binary digit 0 represent in the lecture?

A negative charge or the switch's off position.

54
New cards

What is the binary numbering system?

A numbering system in which numeric values are written as sequences of 0s and 1s.

55
New cards

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

255.

56
New cards

What is the maximum value that can be stored using two bytes?

65,535.

57
New cards

How are characters stored in computer memory?

As binary numbers.

58
New cards

What is ASCII?

American Standard Code for Information Interchange; a coding scheme for characters.

59
New cards

How many numeric codes does ASCII have?

128.

60
New cards

What is Unicode?

An extensive encoding scheme that is compatible with ASCII and represents characters for many languages in the world.

61
New cards

How are negative numbers encoded?

Using two's complement.

62
New cards

How are real numbers encoded?

Using floating-point notation.

63
New cards

What is digital data?

Data that is stored in binary.

64
New cards

What is a digital device?

A device that works with binary data.

65
New cards

What are pixels?

Tiny dots of color that make up digital images; the term means picture elements.

66
New cards

What are samples?

Small pieces into which digital sound is broken.

67
New cards

What language can the CPU understand directly?

Machine language.

68
New cards

Why were other programming languages invented?

Because people find it very difficult to write entire programs in machine language.

69
New cards

What is the CPU designed to do?

Specific operations such as reading data from main memory, arithmetic, moving data, and determining whether values are equal.

70
New cards

What is a CPU instruction set?

The entire set of instructions that a CPU can execute.

71
New cards

Do all microprocessor brands have the same instruction set?

No. Each brand, such as Intel, AMD, and Motorola, has a unique instruction set.

72
New cards

What is the fetch-decode-execute cycle?

The cycle used when the CPU executes the instructions in a program.

73
New cards

What are the three steps of the fetch-decode-execute cycle?

Fetch, decode, and execute.

74
New cards

What happens during fetch?

The CPU fetches the next instruction in the program.

75
New cards

What happens during decode?

The CPU determines which operation the instruction specifies.

76
New cards

What happens during execute?

The CPU performs the operation specified by the instruction.

77
New cards

What is assembly language?

A low-level programming language that uses short words called mnemonics instead of binary machine-language instructions.

78
New cards

What is an assembler?

A program that translates an assembly-language program into a machine-language program.

79
New cards

What is a high-level language?

A language that lets programmers create powerful and complex programs without knowing how the CPU works, using words that are easier to understand.

80
New cards

What are examples of high-level languages listed in the lecture?

Java, C++, Python, Visual Basic, C#, Ada, and Fortran.

81
New cards

What are key words or reserved words?

Words that have a specific meaning and purpose in a programming language.

82
New cards

What are operators?

Symbols or elements that perform various operations on data.

83
New cards

What is syntax?

A set of rules that must be strictly followed when writing a program.

84
New cards

What are statements?

Individual instructions written in a programming language.

85
New cards

What is source code?

The statements written in a high-level programming language; also called code.

86
New cards

What is a syntax error?

A mistake such as a misspelled word, missing punctuation character, or incorrect use of an operator.

87
New cards

What is a compiler?

A program that translates a high-level-language program into a separate machine-language program.

88
New cards

What is an interpreter?

A program that both translates and executes the instructions in a high-level-language program.

89
New cards

What is the key difference between a compiler and an interpreter?

A compiler translates the high-level program into a separate machine-language program, while an interpreter translates and executes the instructions.

90
New cards

What are the two general categories of software?

System software and application software.