Midterm Flashcards

1
Q

What is a CPU (central processing unit)

A

the brain of the computer responsible for executing instructions, preforming calculations, and managing data movement

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

what is RAM (random access memory)

A

volatile memory used by the computer to temporarily store data and programs that are actively being used

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

what is main memory

A

refers to the RAM and other volatile memory used by the computer for immediate access to data and instructions

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

what is secondary storage

A

hard drives and SSDs, provide long term storage for data and programs and media files

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

What are cd/dvds

A

Optical storage media used for storing data, programs, and media files

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

what is a hard drive

A

A magnetic storage device used for long-term data storage in computers.

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

what is a flash memory

A

Non-volatile memory used in devices like USB drives, SSDs, and memory cards for data storage.

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

what are input devices

A

Devices such as keyboards, mice, and touchscreens used to input data and commands into the computer.

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

what is software

A

Programs and applications that run on the computer, including operating systems, utilities, and applications

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

what is an operating system

A

The operating system manages hardware resources, provides a user interface, and enables interaction between software and hardware.

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

what is problem solving

A

Problem-solving involves identifying problems, analyzing them, and developing solutions to address them effectively.

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

what are algortihms

A

Algorithms are step-by-step procedures or instructions for solving a specific problem or completing a task.

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

what are binary numbers

A

Base-2 numeral system used in digital electronics and computers, consisting of only two digits: 0 and

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

what is a byte

A

A unit of digital information storage, typically consisting of 8 bits

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

what is a bit

A

the smallest unit of data in a computer, representing a binary digit (0 or 1).

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

what is the process of store and receiving

A

Processes of saving data to and retrieving data from memory or storage devices.

17
Q

what is a directory

A

A file system structure that organizes and stores files and other directories.

18
Q

what is machine langauge

A

The low-level programming language consisting of binary code directly understood by the computer’s hardware.

19
Q

what is high-level language

A

Programming languages with syntax closer to human language, making them easier to read and write, such as C, Python, and Java.

20
Q

what is IDE integrated development environment?

A

Software suite providing tools for software development, including code editor, compiler, debugger, and build automation tools

21
Q

what is a compiler

A

Software that translates high-level source code into machine code or executable files

22
Q

what is a source file

A

The file containing human-readable source code written in a programming language.

23
Q

what is an object file

A

The intermediate file generated by a compiler containing machine code or bytecode

24
Q

what are comments

A

Comments are used to add explanatory notes within the code for better understanding.

25
Q

what are data types and variables

A

Data types specify the type of data that can be stored in a variable, while variables are containers for storing data during program execution

26
Q

what is an assignment statement

A

Assign values to variables using the assignment operator (=).

27
Q

what are arithmetic expressions

A

Mathematical calculations involving arithmetic operators (+, -, *, /, %).

28
Q

what are input and output operations

A

Reading input from the user (scanf) and displaying output (printf) on the screen.

29
Q

what is a syntax error

A

Errors in the syntax of the code that violate the rules of the programming language

30
Q

what is runtime error

A

Errors that occur during program execution, such as division by zero or accessing invalid memory

31
Q
A