Top1 Flashcards

(43 cards)

1
Q

What is the difference between computer organization and computer architecture?

A

Computer organization is about internal components and their interactions, while computer architecture refers to the overall design and structure of a computer system.

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

What does computer organization focus on?

A

Computer organization focuses on hardware details, functionality, and performance.

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

In the car analogy, what does computer organization represent?

A

Understanding the engine, transmission, and wheels, and how these parts work together.

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

What does computer architecture involve?

A

Design principles, goals, and capabilities of the computer system, such as speed, efficiency, and cost.

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

In the car analogy, what does computer architecture represent?

A

Designing a new car model, deciding on features, performance, and engine type.

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

What are the key components covered in a Computer Organization and Architecture course?

A
  • Computer Hardware Components
  • Instruction Set Architecture (ISA)
  • Memory Systems
  • Pipelining and Parallelism
  • Instruction Execution Cycle
  • Microarchitecture
  • I/O Systems
  • System-Level Organization
  • Performance Evaluation
  • Emerging Trends
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is software?

A

A set of instructions that tells the computer what to do, when to do it, and how to do it.

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

What are the two main types of translators?

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

What is binary code?

A

A system of ones and zeroes used by computers to communicate and process information.

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

Define an algorithm.

A

A set of instructions or steps that a computer program follows to solve a problem or complete a task.

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

What is the difference between hardware and software?

A

Hardware refers to the physical components of a computer, while software refers to the programs and instructions that tell the hardware what to do.

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

What are the types of computers?

A
  • Personal computers (PCs) / Microcomputers
  • Servers / Minicomputers
  • Mainframes
  • Supercomputers
  • Embedded Systems
  • Wearable Computers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the role of the processor in a computer?

A

The processor carries out all the instructions and calculations required by the system.

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

What is RAM?

A

Random Access Memory that holds program instructions and data required for processing.

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

What is the function of the ALU?

A

Performs basic arithmetic, comparisons, and logical operations.

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

What is the control unit responsible for?

A

Directing the flow of instructions and data within the CPU.

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

List the advantages of computers.

A
  • Increased efficiency and productivity
  • Storage and organization of information
  • Improved communication
  • Access to information and resources
  • Automation of repetitive tasks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

List the disadvantages of computers.

A
  • Dependence on technology
  • Security risks
  • Social isolation
  • Environmental impact
  • Job displacement
19
Q

What are high-level programming languages?

A

Languages that use English-like statements to write computer instructions.

20
Q

What is a low-level programming language?

A

A language that is closer to system hardware and requires knowledge of hardware to write instructions.

21
Q

Fill in the blank: A programming language provides a way of writing computer instructions that are used to perform a specific _______.

22
Q

True or False: High-level languages require hardware knowledge to write instructions.

23
Q

What are the two main categories of programming languages?

A

High-level languages and low-level languages

24
Q

What is the primary difference between low-level languages and high-level languages?

A

Low-level languages are closer to system hardware and require hardware knowledge, while high-level languages are machine independent and do not require such knowledge

25
Define High-Level Language (HLL)
A computer programming language that uses English-like statements to write computer instructions
26
What are some important characteristics of high-level languages?
* Easily interpreted or compiled * Programmer-friendly * Easy to understand * Easy to debug * Simple maintenance * Requires a compiler/interpreter * Can run on different platforms * Less memory efficient * Widely used
27
List examples of high-level languages
* C * C++ * Java * Python
28
Define Low-Level Language
A category of programming languages that relate to specific architecture and hardware of a computer system
29
What is machine code?
A language commonly written in hexadecimal and binary form, not widely used due to its complexity
30
What is assembly language?
A low-level programming language that uses mnemonics and is closely related to machine language
31
What are some important characteristics of low-level languages?
* Easily understood by machines * Machine-friendly * Difficult to understand * Difficult to debug * Complex maintenance * Not portable * Depends on the machine * Requires an assembler * Not widely used
32
What is the role of translators in programming languages?
To translate programming languages into machine code, as computers only understand binary
33
What is a compiler?
A program that translates the entire source code of a high-level programming language into machine code or intermediate code
34
What is the main function of an interpreter?
To directly execute source code written in a high-level programming language, translating and executing each line immediately
35
What is an assembler?
A program that translates assembly language code into machine code
36
List programming languages that typically use compilers
* C * C++ * Java * Go * Rust * Fortran * Pascal
37
List programming languages that typically use interpreters
* Python * JavaScript * Ruby * PHP * Perl * Bash
38
Name languages that can use both compilers and interpreters
* JavaScript * Python * Lisp * Scheme
39
What is an Integrated Development Environment (IDE)?
A software application that provides comprehensive facilities for software development, including a code editor, debugger, and build automation tools
40
What are key features of an IDE?
* Code Editor * Compiler/Interpreter * Debugger * Build Automation Tools * Project Management * Version Control Integration
41
List examples of popular IDEs
* Visual Studio Code * PyCharm * Eclipse * IntelliJ IDEA * Xcode
42
True or False: High-level languages are generally more difficult to debug than low-level languages.
False
43
Fill in the blank: A _______ is a program that translates assembly language code into machine code.
Assembler