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