Software Development Concepts Flashcards
Which of the following is an example of a floating-point number?
8.02
What keyword is used in pseudocode to represent a loop with a condition at its beginning?
WHILE
What is branching in computer programming?
A method to execute a different sequence of instructions based on a condition
In a flowchart, what does a parallelogram represent?
Input or output
What is the main purpose of adding comments to a program?
To explain different parts of the program
What should be done before starting to code a program?
Decide what the program should do.
What does the term “syntax” refer to in computer programming?
The rules for how to write the language.
What is the main purpose of a compiler in compiled programming languages?
To convert the code into machine language
What does an array store?
A collection of variables of the same type
What does it mean for an array to be multidimensional?
It can hold arrays within arrays.
What is the role of a query in a database search?
To search the database and find matching records
What does the NOT operation do to a condition?
Inverts it
What is the purpose of adding comments to your code?
To explain what each part of the code does
What does the relational operator != mean?
is not equal
Which symbol is used to show the logical flow of the program in a flowchart?
Arrow
Which of the following is an example of an integer?
23
What does a function return after it runs?
A value
Which of the following is a string?
‘Hello World”
What happens when the condition in a While loop is no longer met?
The loop stops running.
What is the result of the expression !True?
False
What is one advantage of interpreted languages?
They are platform-independent.
What happens when you enter a number as a character?
You cannot perform math operations with it.
What is the main purpose of pseudocode?
To describe what the code will do using plain language
In what areas is assembly language still used today?
Specialized areas
What makes it easier for humans to read and write instructions for computers?
Programming languages
What should be done before starting to code a program?
Decide what the program should do.
Which of the following is NOT a programming language
HTML
Which type of loop runs a specific number of times?
For loop
What is a variable in a computer program?
A container that holds data for use later
What do you put inside the parentheses when using a function?
The arguments or values the function needs to process
What is a function in programming?
A piece of code that does one specific job
Which type of loop keeps running as long as a certain condition is met?
While loop
In a flowchart, what does a parallelogram represent?
Input or output
What is a character in programming?
A single letter, symbol, or number
Why is code written in assembly language more efficient?
It allows direct access to hardware.
What is the purpose of using functions in programming?
To avoid repeating the same code
What is the main purpose of query languages?
To get information from databases
Which number type would you use for precise financial calculations?
Fixed-point
What is the result of the expression !True?
False
What is a constant in a computer program?
A value that never changes
Which type of loop runs a specific number of times?
for loop
What type of value can a Boolean variable store?
True or False
What does an array store?
A collection of variables of the same type
What is an array?
A special type of variable that holds many values at once
What is the main purpose of pseudocode?
To describe what the code will do using plain language
What is an escape character used for in a string?
To include special characters in the output
Which Boolean operation returns True only if both conditions are True?
AND
What is an object in object-oriented programming (OOP)?
A specific model built from a class.
What is encapsulation in object-oriented programming (OOP)?
The technique of keeping variables secure inside a class.
What is bytecode?
A low-level language that is interpreted by a runtime engine
What is a loop in programming?
A sequence of instructions that is executed repeatedly.
What is a class in object-oriented programming (OOP)?
A blueprint or template for creating objects.
What is the main advantage of using bytecode?
It can run on any computer with a runtime engine.
What do you put inside the parentheses when using a function?
The arguments or values the function needs to process
Who created the first computer program?
Ada Lovelace
What does a diamond shape in a flowchart indicate?
A decision point
Why is the planning process important in programming?
It ensures a well-thought-out program.
Which of the following is a loop with a condition at its ending?
REPEAT-UNTIL
What is sequential flow in a program?
Code that runs in the order it is written