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. The two types of parameters that can be implemented with PASCAL are: _______ and Functions.
numeric
system testing
Procedures
Else
2. The stucture of a procedure: Heading - ______ - Statement
selection structure
local
Declaration
if-then-else
3. 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.
integration testing
compound statement
pass by value
sequential structure
4. All modules must be _____ and they can call other modules.
Called
trace tables
Scope Rule 3
declaration
5. ________ design is the key to the ability to create large systems.
boolean
testing
implementation
Modular
6. _______ boolean expressions are formed by combining boolean expressions using the boolean operators (NOT - AND- OR).
If-Then
selection structure
compound
If
7. Variable When a variable is declared under a procedure it is a _____ variable?
Local
While-Do
pass by value
system testing
8. 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.
not
integration testing
While-Do
Called
9. Local variables have _______ kind of scope
statement
Character
limited
fundamental scope principle
10. Less than - equal to - not equal to etc. are examples of _________
If-Then
relational operators
definition
compilation
11. The three categories for a program structure are: ____ - Branching/Selection - Looping/Iteration
Sequence
limited
software design
Repeat-Until
12. Parameters act like _____ variables within a module
local
pass by reference
trace tables
Else
13. For an ____ Boolean Expression to be true if any Boolean expression evaluates to true then the entire expression evaluates to true.
OR
nested
If-Then
Scope Rule 2
14. The order of operations from first to last are ___ - (* / DIV MOD AND) - (+ - OR) - (< > = <= >= <>)
single
pass by reference
NOT
Formal
15. Deploy the software and fix bugs and modify to satisfy changing requirements.
deployment/maintenance
fundamental scope principle
local
Scope Rule 1
16. They can store values passed on to them but cannot return any values.
definition
boolean
value parameters
compound statement
17. Test each module in isolation and test the modules all together and make sure every line of code is tested.
top down
testing
OR
if
18. Break system into manageable units or modules.
pass by reference
software design
system testing
Scope Rule 3
19. A nested decision making statement can also have a ____ in the inner statement.
stack frame
local
Else
simple
20. Boolean expressions can be simple or _______
Declaration
compound
OR
if
21. Where the statements for the module are coded.
Procedures
definition
integration testing
OR
22. In Pascal Programs are executed one ______ at a time.
control
independent
AND
statement
23. The testing of the complete program to determine the overall system functions.
variable parameters
nested
system testing
trace tables
24. Used to trace the execution of an algorithm.
Character
sequential structure
numeric
trace tables
25. Modules can be called anywhere in the program - but must be done after their ______.
Character
relational operators
infinite loops
definition
26. <> is the symbol for ___ equal to
compound statement
While-Do
not
OR
27. A parameter value that is used in a function call or in a message sent to an object.
AND
independent
XOR
Actual parameters
28. The scope of an entity is the program or subprogram in which it is declared.
fundamental scope principle
Modular
Scope Rule 1
implementation
29. Breaking things into modules.
simple
Sequence
procedural abstraction
compilation
30. 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).
trace tables
if-else
OR
independent
31. The space on the task which holds the formal parameters local variables and the return value.
Local
not
stack frame
infinite loops
32. Modules are defined in the ______ part of a program - under the constant.
declaration
Scope Rule 1
integration testing
Procedures
33. 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.
Actual parameters
Scope Rule 3
Requirements Gathering/Analysis
stack frame
34. The three logical flows that govern a structured program are: Sequence - ______ - and Repetition.
compound statement
Selection
infinite loops
Formal parameters
35. Some logical operators in Pascal are: OR - AND - ___ - NOT - NAND - NOR
candidate
if-else
XOR
OR
36. When true the if executes the body which is a _________ statement.
single
if-then-else
limited
Repeat-Until
37. A body of ______ consists of multiple statements. The statements do have a semicolon - including the end (from the begin and end).
variable parameters
If-Then
candidate
definition
38. The three statements in PASCAL that implement repetition structures:WHILE - FOR - ______.
Repeat-Until
Selection
compound statement
simple
39. 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.
declaration
compound
candidate
AND
40. 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.
OR
Called
boolean
AND
41. They can both receive and return values.
local
call
definition
variable parameters
42. A logical circuit which is used to add two binary digits.
binary half adder
Modular
statement
Else
43. Loops that never end because the stopping/exit condition is never met.
Selection
infinite loops
Scope Rule 1
system testing
44. The five activities in the lifetime of a piece of software? are _______ - Design - Implementation (Coding) - Testing - Deployment/Maintenance.
If
statement
Requirements Gathering/Analysis
definition
45. A _________ statement is what follows the 'then' in an (if-then statement) and is enclosed within the begin-end pair.
compound
Procedures
trace tables
stack frame
46. The five types of operands allowed in Pascal are: Integer - Real - Boolean - _____ - Constant
simple
Character
local
procedural abstraction
47. 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
fundamental scope principle
procedural abstraction
If-Then
nested
48. It makes possible the selection of one of a number of alternative actions - which is implemented by an IF statement.
if
Declaration
selection structure
stack frame
49. An ____ statement evaluates a Boolean expression. The code will only be executed when the expression evaluates to true.
trace tables
nested
if
integration testing
50. 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.
testing
variable parameters
Procedures
if