Software Development Concepts Flashcards

(59 cards)

1
Q

Which of the following is an example of a floating-point number?

A

8.02

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

What keyword is used in pseudocode to represent a loop with a condition at its beginning?

A

WHILE

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

What is branching in computer programming?

A

A method to execute a different sequence of instructions based on a condition

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

In a flowchart, what does a parallelogram represent?

A

Input or output

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

What is the main purpose of adding comments to a program?

A

To explain different parts of the program

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

What should be done before starting to code a program?

A

Decide what the program should do.

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

What does the term “syntax” refer to in computer programming?

A

The rules for how to write the language.

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

What is the main purpose of a compiler in compiled programming languages?

A

To convert the code into machine language

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

What does an array store?

A

A collection of variables of the same type

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

What does it mean for an array to be multidimensional?

A

It can hold arrays within arrays.

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

What is the role of a query in a database search?

A

To search the database and find matching records

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

What does the NOT operation do to a condition?

A

Inverts it

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

What is the purpose of adding comments to your code?

A

To explain what each part of the code does

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

What does the relational operator != mean?

A

is not equal

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

Which symbol is used to show the logical flow of the program in a flowchart?

A

Arrow

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

Which of the following is an example of an integer?

A

23

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

What does a function return after it runs?

A

A value

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

Which of the following is a string?

A

‘Hello World”

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

What happens when the condition in a While loop is no longer met?

A

The loop stops running.

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

What is the result of the expression !True?

A

False

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

What is one advantage of interpreted languages?

A

They are platform-independent.

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

What happens when you enter a number as a character?

A

You cannot perform math operations with it.

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

What is the main purpose of pseudocode?

A

To describe what the code will do using plain language

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

In what areas is assembly language still used today?

A

Specialized areas

25
What makes it easier for humans to read and write instructions for computers?
Programming languages
26
What should be done before starting to code a program?
Decide what the program should do.
27
Which of the following is NOT a programming language
HTML
28
Which type of loop runs a specific number of times?
For loop
29
What is a variable in a computer program?
A container that holds data for use later
30
What do you put inside the parentheses when using a function?
The arguments or values the function needs to process
31
What is a function in programming?
A piece of code that does one specific job
32
Which type of loop keeps running as long as a certain condition is met?
While loop
33
In a flowchart, what does a parallelogram represent?
Input or output
34
What is a character in programming?
A single letter, symbol, or number
35
Why is code written in assembly language more efficient?
It allows direct access to hardware.
36
What is the purpose of using functions in programming?
To avoid repeating the same code
37
What is the main purpose of query languages?
To get information from databases
38
Which number type would you use for precise financial calculations?
Fixed-point
39
What is the result of the expression !True?
False
40
What is a constant in a computer program?
A value that never changes
41
Which type of loop runs a specific number of times?
for loop
42
What type of value can a Boolean variable store?
True or False
43
What does an array store?
A collection of variables of the same type
44
What is an array?
A special type of variable that holds many values at once
45
What is the main purpose of pseudocode?
To describe what the code will do using plain language
46
What is an escape character used for in a string?
To include special characters in the output
47
Which Boolean operation returns True only if both conditions are True?
AND
48
What is an object in object-oriented programming (OOP)?
A specific model built from a class.
49
What is encapsulation in object-oriented programming (OOP)?
The technique of keeping variables secure inside a class.
50
What is bytecode?
A low-level language that is interpreted by a runtime engine
51
What is a loop in programming?
A sequence of instructions that is executed repeatedly.
52
What is a class in object-oriented programming (OOP)?
A blueprint or template for creating objects.
53
What is the main advantage of using bytecode?
It can run on any computer with a runtime engine.
54
What do you put inside the parentheses when using a function?
The arguments or values the function needs to process
55
Who created the first computer program?
Ada Lovelace
56
What does a diamond shape in a flowchart indicate?
A decision point
57
Why is the planning process important in programming?
It ensures a well-thought-out program.
58
Which of the following is a loop with a condition at its ending?
REPEAT-UNTIL
59
What is sequential flow in a program?
Code that runs in the order it is written