Chapter 1 Introduction To Programming Flashcards

1
Q

What is the central processing unit?

A

The CPU is the brain of the computer that uses instruction set architecture (ISA) to complete tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the ALU?

A

The arithmetic and logic unit responsible for performing arithmetic calculations as well as logical operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the main memory?

A

The RAM is used to store data close to the CPU and has fast access to the hard disk to store executing programs or data being worked on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some examples of secondary memory?

A

SSD, DVD, hard disk, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the output devices and input devices? Give examples of each.

A

Input devices show on the computer like a mouse, while output devices are products of the operating system like a monitor or printer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the evolution of programming languages?

A

Machine Language, Assembly Language Procedural Languages, Structured Programming, Object-Oriented Languages, Modern Programming Languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What was machine language?

A

Written in binary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is assembly language?

A

Introduced mnemonic codes and symbol representations and they were translated into machine language user assemblers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Procedural Languages

A

Emerging in the 1950s these languages provided a higher level of abstraction and founded loops and conditionals. Examples include Fortran and COBOL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Structured Programming

A

Popularized in the 1970s, languages like Pascal and C emphasized the use of structured control flow to enhance program clarity, maintainability, and modularity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Object-oriented Languages

A

Introduced in the 1980s these languages provided the concepts of objects and classes. OOP promotes encapsulation, inheritance, and polymorphism. For representing real-world concepts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Modern Programming Languages

A

Provide extensive libraries and read more like English.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the method of translating to machine code that is not compiling?

A

Interpreted languages are directly run on an interpreter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe the process of translating anslating compiled languages.

A

A compiling program translates the source code into machine code and a linker program puts various object code files together to make an executable program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the five steps of software develop?

A

Requirements Gathering, Design and Planning, Implementation and Coding, Testing and Quality Assurance, and Deployment and Maintenance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is pseudocode?

A

Code written informally in a mixture of natural language and general types of code statements.

17
Q

Describe the difference between syntax and semantics.

A

Syntax is the grammar of the language while semantics is the meaning of the language.

18
Q

What is the compiling process?

A

Preprocessor, Compilation, and Linking