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. ______ design starts by identifying tasks at the bottom level and then combine them to solve the main problem.
pass by value
bottom up
If-Then
if
2. 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.
call
candidate
testing
infinite loops
3. 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.
AND
While-Do
Scope Rule 3
NOT
4. A _______ statement involves Decision making with two conditions (true or false). No semicolon after 'else.
trace tables
local
if-then-else
XOR
5. ________ design is the key to the ability to create large systems.
Modular
compound
Procedures
trace tables
6. The two types of parameters that can be implemented with PASCAL are: _______ and Functions.
NOT
pass by value
Procedures
trace tables
7. An entity declared in a subprogram can be accessed by any subprogram defined within it - provided that no entity with the same name is declared in the internal subprogram.
single
If-Then
local
Scope Rule 3
8. When true the if executes the body which is a _________ statement.
single
limited
testing
boolean
9. Local variables have _______ kind of scope
relational operators
OR
limited
OR
10. The creation (write) of the code.
implementation
definition
compound
Requirements Gathering/Analysis
11. Modules are defined in the ______ part of a program - under the constant.
declaration
if
numeric
If
12. A parameter value that is used in a function call or in a message sent to an object.
relational operators
Formal
Actual parameters
Declaration
13. A ______ operand cannot be applied to an AND boolean operator
parameters
numeric
statement
if-else
14. ______ Decision Making checks if a particular condition is true.
parameters
limited
Scope Rule 3
If-Then
15. Typically a variable that determines whether or not the loop executes or not.
Scope Rule 1
Scope Rule 2
control
deployment/maintenance
16. The scope of an entity is the program or subprogram in which it is declared.
fundamental scope principle
call
control
definition
17. They can store values passed on to them but cannot return any values.
simple
limited
value parameters
software design
18. 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).
Procedures
if-else
AND
software design
19. A method of passing a variable to a program by making a copy of the variable and giving it to the called program.
pass by value
AND
candidate
limited
20. Deploy the software and fix bugs and modify to satisfy changing requirements.
compound
deployment/maintenance
Formal parameters
Scope Rule 2
21. 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.
statement
bottom up
trace tables
AND
22. Used to trace the execution of an algorithm.
independent
sequential structure
if
trace tables
23. The testing of the complete program to determine the overall system functions.
relational operators
system testing
candidate
if-then-else
24. An _____ statement allows the programmer to specify the statement selected for execution when the expression is true. It also indicates an alternative statement when the expression is false.
local
if
Procedures
declaration
25. _____ error happens when the type and number of parameters does not match?
Repeat-Until
compilation
infinite loops
bottom up
26. True and False are the two _____ constants
Actual parameters
compound
If-Then
boolean
27. Some logical operators in Pascal are: OR - AND - ___ - NOT - NAND - NOR
control
XOR
fundamental scope principle
definition
28. A ________ statement is what follows the 'then' in an (if-then statement) and precedes the first semi-colon.
compound
definition
Scope Rule 2
simple
29. Break system into manageable units or modules.
numeric
Local
software design
Scope Rule 1
30. 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
Declaration
nested
compound
31. The space on the task which holds the formal parameters local variables and the return value.
infinite loops
Sequence
if-else
stack frame
32. Where the statements for the module are coded.
Formal
definition
compound
trace tables
33. Loops that never end because the stopping/exit condition is never met.
infinite loops
single
Scope Rule 3
Selection
34. The two types of parameters are: ______ and Actual.
Formal
testing
OR
numeric
35. A _________ statement is what follows the 'then' in an (if-then statement) and is enclosed within the begin-end pair.
Sequence
compound
binary half adder
numeric
36. A method of passing a variable to a program by making a copy of the variable and giving it to the called program.
Procedures
pass by reference
local
testing
37. The order of operations of the boolean operators from first to last is: NOT - AND - _____
Repeat-Until
software design
call
OR
38. An item declared within a procedure or function is not accessible outside that procedure or function.
deployment/maintenance
Scope Rule 1
single
If
39. 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.
Scope Rule 2
definition
software design
nested
40. The three logical flows that govern a structured program are: Sequence - ______ - and Repetition.
declaration
Selection
Else
pass by value
41. A logical circuit which is used to add two binary digits.
Called
Modular
binary half adder
Else
42. The three categories for a program structure are: ____ - Branching/Selection - Looping/Iteration
top down
limited
While-Do
Sequence
43. <> is the symbol for ___ equal to
not
deployment/maintenance
candidate
Repeat-Until
44. Boolean expressions can be simple or _______
Local
selection structure
compound
call
45. Test each module in isolation and test the modules all together and make sure every line of code is tested.
Repeat-Until
testing
Character
simple
46. Modulars are ________ from one another
not
independent
AND
compilation
47. Variable When a variable is declared under a procedure it is a _____ variable?
if
control
Formal parameters
Local
48. The five types of operands allowed in Pascal are: Integer - Real - Boolean - _____ - Constant
definition
Called
if
Character
49. They can both receive and return values.
variable parameters
If-Then
Modular
Repeat-Until
50. This is where the module is invoked or called.
XOR
call
deployment/maintenance
Scope Rule 1
Link to This Test
Related Subjects
Soft Skills
Business Skills