Basics Flashcards

1
Q

What is software?

A

Programs that run on a computer

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

What is an algorithm?

A

A set of step-by-step instructions used to solve a problem

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

What is a programming language?

A

A language used to write software

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

What is code?

A

Instructions written in a programming language that a computer can execute

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

What is compilation?

A

The process of converting human-readable code into machine code that a computer can understand

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

What is debugging?

A

The process of finding and fixing errors in a program

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

What is a program?

A

A set of instructions written in a programming language that a computer follows to perform a specific task or operation

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

What is a variable?

A

A named storage location that holds a value

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

What is syntax?

A

The rules that define how a program is written in a particular programming language

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

What is a computer?

A

An electronic device that performs tasks and processes data according to software instructions

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

What is an assignment?

A

The process of storing a value in a variable using an equal sign (=)

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

What is an expression?

A

A combination of variables, values, and operators that produces a result (e.g., x + 2)

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

What is a function?

A

A reusable block of code that performs a specific task and can return a value

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

What is a parameter?

A

A variable used in a function definition to accept input values

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

What is an argument?

A

A value that is passed into a function when it is called

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

What is a conditional statement?

A

A programming construct that allows the execution of different blocks of code based on a condition (e.g., if)

17
Q

What is a loop?

A

A programming construct that repeats a block of code multiple times (e.g., for, while)

18
Q

What is iteration?

A

The act of repeating a process in a loop

19
Q

What is a class?

A

A blueprint for creating objects that defines their properties and behaviors

20
Q

What is an object?

A

An instance of a class containing specific data and functions

21
Q

What is a method?

A

A function that belongs to a class or object

22
Q

What is recursion?

A

A programming technique in which a function calls itself to solve a problem

23
Q

What is a compiler?

A

A program that translates human-readable code into machine code so it can be executed by a computer

24
Q

What is an interpreter?

A

A program that interprets and executes code line-by-line

25
What is hardware?
The physical components of a computer (e.g., CPU, RAM, Hard Drive)
26
What is a bit?
The smallest unit of data in computing, representing 0 or 1
27
What is a byte?
A group of 8 bits, commonly used to represent a character
28
What is binary?
A numbering system used for computing that only contains 0s and 1s
29
What is a CPU?
The brain of the computer that executes instructions (Central Processing Unit / Processor)
30
What is RAM?
Temporary storage that holds data and instructions for quick access (Random Access Memory / Memory)
31
What are arithmetic operators?
Symbols that perform an arithmetic operation on one or more values (e.g., +, -, *, /, %)
32
What are comparison operators?
Symbols used to compare values (e.g., ==, <, >, <=, >=)
33
What are logical operators?
Operators that combine conditions (e.g., and, or, not)
34
What is a function definition?
Includes the function header (return type, name, parameters) and body
35
What is a function header?
The part of a function that includes the return type, name, and parameters of the function
36
What is a function call?
Executing a function by using its name
37
What is scope?
The part of a program where a variable is accessible
38
What is an array?
A collection of elements stored in contiguous memory locations
39