SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Pascal Programming
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. All modules must be _____ and they can call other modules.
Called
Modular
Formal
software design
2. The five activities in the lifetime of a piece of software? are _______ - Design - Implementation (Coding) - Testing - Deployment/Maintenance.
Requirements Gathering/Analysis
local
if-else
Modular
3. Deploy the software and fix bugs and modify to satisfy changing requirements.
control
selection structure
limited
deployment/maintenance
4. The five types of operands allowed in Pascal are: Integer - Real - Boolean - _____ - Constant
Procedures
fundamental scope principle
Character
Requirements Gathering/Analysis
5. A logical circuit which is used to add two binary digits.
software design
single
value parameters
binary half adder
6. Modulars are ________ from one another
independent
Declaration
system testing
compound
7. An ______ statement evaluates a Boolean expression. A different code will be executed if the expression evaluates to true (the body of the if) than if the expression evaluates to false (the body of the else).
if-else
Character
not
variable parameters
8. The three logical flows that govern a structured program are: Sequence - ______ - and Repetition.
Modular
independent
If
Selection
9. In ______ decision making when the first decision must evaluate to true before the successive (next) decisions are even considered for evaluation. One decision is made inside another. The outer decisions must evaluate to true before inner decisions a
If
nested
If-Then
Scope Rule 3
10. Typically a variable that determines whether or not the loop executes or not.
parameters
Actual parameters
control
stack frame
11. It encapsulates a sequence of statements as a single statement. Has a begin and end statement.
compilation
XOR
compound statement
control
12. ________ design is the key to the ability to create large systems.
Modular
testing
Scope Rule 2
value parameters
13. The creation (write) of the code.
bottom up
implementation
infinite loops
Actual parameters
14. _______ boolean expressions are formed by combining boolean expressions using the boolean operators (NOT - AND- OR).
compound
pass by value
single
Modular
15. <> is the symbol for ___ equal to
XOR
stack frame
boolean
not
16. A global entity is accessible throughout the main program and in any subprogram in which no local entity has the same name as the global item.
Procedures
integration testing
declaration
Scope Rule 2
17. Modules are defined in the ______ part of a program - under the constant.
declaration
value parameters
parameters
control
18. A nested decision making statement can also have a ____ in the inner statement.
Local
binary half adder
Else
simple
19. ______ design starts by identifying tasks at the bottom level and then combine them to solve the main problem.
bottom up
value parameters
deployment/maintenance
Sequence
20. Modules can be called anywhere in the program - but must be done after their ______.
testing
Scope Rule 2
definition
OR
21. Finding a ________ module is the process of going from a problem description to writing a program that fulfills those requirements. They cannot be summarized in just a series of steps that fit all scenarios.
candidate
compound statement
if-then-else
Declaration
22. Breaking things into modules.
Called
definition
procedural abstraction
if-then-else
23. _______ design starts with high level idea of a solution and successively refine it. It favors hierarchial organization.
Local
software design
sequential structure
top down
24. Test each module in isolation and test the modules all together and make sure every line of code is tested.
OR
pass by reference
Procedures
testing
25. True and False are the two _____ constants
If-Then
boolean
if
candidate
26. Refers to the execution of a sequence of statements in the order in which they appear so that each statement is executed exactly once.
sequential structure
local
pass by reference
Declaration
27. A _________ statement is what follows the 'then' in an (if-then statement) and is enclosed within the begin-end pair.
testing
bottom up
compound
if
28. Where the statements for the module are coded.
definition
value parameters
If-Then
Selection
29. The space on the task which holds the formal parameters local variables and the return value.
stack frame
Formal
fundamental scope principle
binary half adder
30. A ______ statement is generally used when the number of times that the loop executes is not known in advance. The loop executes as long as the boolean expression is true.
While-Do
selection structure
integration testing
infinite loops
31. A method of passing a variable to a program by making a copy of the variable and giving it to the called program.
boolean
pass by value
definition
value parameters
32. The testing of the complete program to determine the overall system functions.
If
limited
system testing
definition
33. The stucture of a procedure: Heading - ______ - Statement
compound
single
Formal parameters
Declaration
34. Loops that never end because the stopping/exit condition is never met.
infinite loops
call
if
boolean
35. The order of operations from first to last are ___ - (* / DIV MOD AND) - (+ - OR) - (< > = <= >= <>)
NOT
procedural abstraction
testing
deployment/maintenance
36. A ______ operand cannot be applied to an AND boolean operator
compound
system testing
numeric
Scope Rule 2
37. Local variables have _______ kind of scope
boolean
limited
software design
if-else
38. A _______ statement involves Decision making with two conditions (true or false). No semicolon after 'else.
single
Scope Rule 2
compound
if-then-else
39. To test that the subprograms are integrated into the program correctly. That they interact with one another correctly - passing the required information to and from one another.
if-then-else
local
integration testing
independent
40. Boolean expressions can be simple or _______
Requirements Gathering/Analysis
boolean
compound
pass by value
41. This is where the module is invoked or called.
NOT
trace tables
variable parameters
call
42. A body of ______ consists of multiple statements. The statements do have a semicolon - including the end (from the begin and end).
if-else
If-Then
pass by reference
compound
43. In Pascal Programs are executed one ______ at a time.
If-Then
If-Then
NOT
statement
44. A parameter that is specified as part of a function definition.
Formal
candidate
Formal parameters
sequential structure
45. For an ____ Boolean Expression to be true the Boolean expressions must evaluate to true before the entire expression is true. If any expression is false then whole expression evaluates to false.
binary half adder
AND
infinite loops
deployment/maintenance
46. ______ Decision Making checks if a particular condition is true.
parameters
If-Then
nested
simple
47. The two types of parameters that can be implemented with PASCAL are: _______ and Functions.
Repeat-Until
Procedures
compilation
if
48. The three categories for a program structure are: ____ - Branching/Selection - Looping/Iteration
local
Scope Rule 2
Sequence
nested
49. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine. Values can be passed from outside the procedure.
parameters
NOT
Requirements Gathering/Analysis
nested
50. A ________ statement is what follows the 'then' in an (if-then statement) and precedes the first semi-colon.
if
control
call
simple