Software Development Concepts Flashcards

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
Q

What makes it easier for humans to read and write instructions for computers?

A

Programming languages

26
Q

What should be done before starting to code a program?

A

Decide what the program should do.

27
Q

Which of the following is NOT a programming language

A

HTML

28
Q

Which type of loop runs a specific number of times?

A

For loop

29
Q

What is a variable in a computer program?

A

A container that holds data for use later

30
Q

What do you put inside the parentheses when using a function?

A

The arguments or values the function needs to process

31
Q

What is a function in programming?

A

A piece of code that does one specific job

32
Q

Which type of loop keeps running as long as a certain condition is met?

A

While loop

33
Q

In a flowchart, what does a parallelogram represent?

A

Input or output

34
Q

What is a character in programming?

A

A single letter, symbol, or number

35
Q

Why is code written in assembly language more efficient?

A

It allows direct access to hardware.

36
Q

What is the purpose of using functions in programming?

A

To avoid repeating the same code

37
Q

What is the main purpose of query languages?

A

To get information from databases

38
Q

Which number type would you use for precise financial calculations?

A

Fixed-point

39
Q

What is the result of the expression !True?

A

False

40
Q

What is a constant in a computer program?

A

A value that never changes

41
Q

Which type of loop runs a specific number of times?

A

for loop

42
Q

What type of value can a Boolean variable store?

A

True or False

43
Q

What does an array store?

A

A collection of variables of the same type

44
Q

What is an array?

A

A special type of variable that holds many values at once

45
Q

What is the main purpose of pseudocode?

A

To describe what the code will do using plain language

46
Q

What is an escape character used for in a string?

A

To include special characters in the output

47
Q

Which Boolean operation returns True only if both conditions are True?

A

AND

48
Q

What is an object in object-oriented programming (OOP)?

A

A specific model built from a class.

49
Q

What is encapsulation in object-oriented programming (OOP)?

A

The technique of keeping variables secure inside a class.

50
Q

What is bytecode?

A

A low-level language that is interpreted by a runtime engine

51
Q

What is a loop in programming?

A

A sequence of instructions that is executed repeatedly.

52
Q

What is a class in object-oriented programming (OOP)?

A

A blueprint or template for creating objects.

53
Q

What is the main advantage of using bytecode?

A

It can run on any computer with a runtime engine.

54
Q

What do you put inside the parentheses when using a function?

A

The arguments or values the function needs to process

55
Q

Who created the first computer program?

A

Ada Lovelace

56
Q

What does a diamond shape in a flowchart indicate?

A

A decision point

57
Q

Why is the planning process important in programming?

A

It ensures a well-thought-out program.

58
Q

Which of the following is a loop with a condition at its ending?

A

REPEAT-UNTIL

59
Q

What is sequential flow in a program?

A

Code that runs in the order it is written