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. 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.
definition
integration testing
if
compound statement
2. The three statements in PASCAL that implement repetition structures:WHILE - FOR - ______.
variable parameters
numeric
Repeat-Until
definition
3. 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
AND
Scope Rule 2
4. Typically a variable that determines whether or not the loop executes or not.
control
call
procedural abstraction
Formal parameters
5. Where the statements for the module are coded.
pass by value
software design
definition
system testing
6. A nested decision making statement can also have a ____ in the inner statement.
if
call
Else
Character
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).
parameters
if-else
procedural abstraction
Requirements Gathering/Analysis
8. It makes possible the selection of one of a number of alternative actions - which is implemented by an IF statement.
nested
boolean
selection structure
system testing
9. The five activities in the lifetime of a piece of software? are _______ - Design - Implementation (Coding) - Testing - Deployment/Maintenance.
limited
Requirements Gathering/Analysis
If
binary half adder
10. Boolean expressions can be simple or _______
compound
variable parameters
software design
boolean
11. 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.
software design
Selection
candidate
If-Then
12. Modules can be called anywhere in the program - but must be done after their ______.
binary half adder
if
definition
AND
13. 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.
While-Do
not
nested
parameters
14. Variable When a variable is declared under a procedure it is a _____ variable?
boolean
if
value parameters
Local
15. <> is the symbol for ___ equal to
deployment/maintenance
not
nested
local
16. A ______ operand cannot be applied to an AND boolean operator
Sequence
numeric
compound
Procedures
17. The stucture of a procedure: Heading - ______ - Statement
value parameters
Declaration
statement
candidate
18. The testing of the complete program to determine the overall system functions.
simple
system testing
trace tables
While-Do
19. An ____ statement evaluates a Boolean expression. The code will only be executed when the expression evaluates to true.
if
variable parameters
AND
Else
20. They can store values passed on to them but cannot return any values.
if-else
Sequence
deployment/maintenance
value parameters
21. A _________ statement is what follows the 'then' in an (if-then statement) and is enclosed within the begin-end pair.
compound
If
top down
While-Do
22. Modulars are ________ from one another
While-Do
independent
Formal
numeric
23. The five types of operands allowed in Pascal are: Integer - Real - Boolean - _____ - Constant
Scope Rule 1
Character
definition
boolean
24. A ________ statement is what follows the 'then' in an (if-then statement) and precedes the first semi-colon.
pass by reference
simple
Scope Rule 1
definition
25. It encapsulates a sequence of statements as a single statement. Has a begin and end statement.
variable parameters
call
compound statement
compilation
26. The scope of an entity is the program or subprogram in which it is declared.
pass by value
deployment/maintenance
binary half adder
fundamental scope principle
27. True and False are the two _____ constants
Selection
OR
control
boolean
28. A _______ statement involves Decision making with two conditions (true or false). No semicolon after 'else.
candidate
if-then-else
Actual parameters
AND
29. An item declared within a procedure or function is not accessible outside that procedure or function.
candidate
Scope Rule 1
single
nested
30. Test each module in isolation and test the modules all together and make sure every line of code is tested.
top down
testing
nested
if-else
31. _______ boolean expressions are formed by combining boolean expressions using the boolean operators (NOT - AND- OR).
compound
relational operators
If-Then
Scope Rule 1
32. In a multiple ____ statement (Non-Exclusive Condition) any or all or none of the conditions may be true - they are independent.
Requirements Gathering/Analysis
software design
If
Scope Rule 2
33. Used to trace the execution of an algorithm.
definition
OR
single
trace tables
34. When true the if executes the body which is a _________ statement.
compilation
Scope Rule 1
Modular
single
35. Some logical operators in Pascal are: OR - AND - ___ - NOT - NAND - NOR
relational operators
limited
XOR
independent
36. ______ Decision Making checks if a particular condition is true.
not
Selection
If-Then
sequential structure
37. The order of operations of the boolean operators from first to last is: NOT - AND - _____
Declaration
call
variable parameters
OR
38. For an ____ Boolean Expression to be true if any Boolean expression evaluates to true then the entire expression evaluates to true.
OR
Actual parameters
Scope Rule 1
simple
39. A parameter that is specified as part of a function definition.
While-Do
infinite loops
Requirements Gathering/Analysis
Formal parameters
40. The two types of parameters that can be implemented with PASCAL are: _______ and Functions.
Procedures
binary half adder
AND
procedural abstraction
41. A method of passing a variable to a program by making a copy of the variable and giving it to the called program.
compound
integration testing
if
pass by value
42. A logical circuit which is used to add two binary digits.
NOT
binary half adder
OR
Else
43. 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.
If-Then
Scope Rule 3
fundamental scope principle
boolean
44. Less than - equal to - not equal to etc. are examples of _________
Scope Rule 3
definition
relational operators
Actual parameters
45. _____ error happens when the type and number of parameters does not match?
compilation
top down
If
bottom up
46. Breaking things into modules.
implementation
Sequence
procedural abstraction
compound
47. The order of operations from first to last are ___ - (* / DIV MOD AND) - (+ - OR) - (< > = <= >= <>)
declaration
if-else
statement
NOT
48. The space on the task which holds the formal parameters local variables and the return value.
NOT
pass by reference
relational operators
stack frame
49. 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
boolean
nested
infinite loops
compound
50. Local variables have _______ kind of scope
limited
software design
If-Then
NOT