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. 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.
trace tables
statement
if
simple
2. 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-then-else
implementation
AND
nested
3. Modules can be called anywhere in the program - but must be done after their ______.
stack frame
Else
NOT
definition
4. A ________ statement is what follows the 'then' in an (if-then statement) and precedes the first semi-colon.
simple
Scope Rule 2
control
numeric
5. Less than - equal to - not equal to etc. are examples of _________
Selection
candidate
relational operators
XOR
6. An item declared within a procedure or function is not accessible outside that procedure or function.
software design
call
Else
Scope Rule 1
7. Typically a variable that determines whether or not the loop executes or not.
deployment/maintenance
definition
control
local
8. A _______ statement involves Decision making with two conditions (true or false). No semicolon after 'else.
independent
if-then-else
Modular
declaration
9. <> is the symbol for ___ equal to
if
not
compilation
simple
10. The order of operations of the boolean operators from first to last is: NOT - AND - _____
selection structure
If
XOR
OR
11. Modules are defined in the ______ part of a program - under the constant.
candidate
independent
declaration
Scope Rule 3
12. Breaking things into modules.
procedural abstraction
if
relational operators
Modular
13. 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).
compound
XOR
stack frame
if-else
14. A _________ statement is what follows the 'then' in an (if-then statement) and is enclosed within the begin-end pair.
Formal parameters
Requirements Gathering/Analysis
Modular
compound
15. The scope of an entity is the program or subprogram in which it is declared.
Actual parameters
fundamental scope principle
local
infinite loops
16. In a multiple ____ statement (Non-Exclusive Condition) any or all or none of the conditions may be true - they are independent.
Formal parameters
deployment/maintenance
software design
If
17. The three logical flows that govern a structured program are: Sequence - ______ - and Repetition.
Scope Rule 3
Selection
statement
XOR
18. The testing of the complete program to determine the overall system functions.
relational operators
compound
Actual parameters
system testing
19. All modules must be _____ and they can call other modules.
Requirements Gathering/Analysis
independent
Sequence
Called
20. The order of operations from first to last are ___ - (* / DIV MOD AND) - (+ - OR) - (< > = <= >= <>)
infinite loops
candidate
Local
NOT
21. Test each module in isolation and test the modules all together and make sure every line of code is tested.
bottom up
testing
stack frame
limited
22. 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.
Declaration
parameters
Modular
If-Then
23. Parameters act like _____ variables within a module
procedural abstraction
local
declaration
top down
24. 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
declaration
XOR
testing
25. A body of ______ consists of multiple statements. The statements do have a semicolon - including the end (from the begin and end).
Scope Rule 1
independent
compilation
If-Then
26. They can both receive and return values.
Declaration
value parameters
top down
variable parameters
27. 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.
Scope Rule 3
call
OR
if-else
28. A ______ operand cannot be applied to an AND boolean operator
integration testing
value parameters
numeric
not
29. Break system into manageable units or modules.
infinite loops
software design
While-Do
Formal
30. 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
independent
declaration
candidate
31. 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 reference
XOR
Repeat-Until
Scope Rule 3
32. _______ boolean expressions are formed by combining boolean expressions using the boolean operators (NOT - AND- OR).
not
statement
compound
control
33. A nested decision making statement can also have a ____ in the inner statement.
Else
single
system testing
Sequence
34. ______ design starts by identifying tasks at the bottom level and then combine them to solve the main problem.
bottom up
Selection
integration testing
deployment/maintenance
35. ______ Decision Making checks if a particular condition is true.
If-Then
Local
fundamental scope principle
NOT
36. Variable When a variable is declared under a procedure it is a _____ variable?
limited
selection structure
Local
pass by value
37. 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
implementation
Scope Rule 1
38. A parameter that is specified as part of a function definition.
system testing
simple
Formal parameters
selection structure
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
compilation
control
implementation
40. For an ____ Boolean Expression to be true if any Boolean expression evaluates to true then the entire expression evaluates to true.
single
definition
local
OR
41. The two types of parameters that can be implemented with PASCAL are: _______ and Functions.
Procedures
control
deployment/maintenance
pass by value
42. They can store values passed on to them but cannot return any values.
Scope Rule 1
value parameters
if-else
OR
43. Local variables have _______ kind of scope
If-Then
limited
implementation
top down
44. A logical circuit which is used to add two binary digits.
binary half adder
Scope Rule 1
numeric
candidate
45. Used to trace the execution of an algorithm.
numeric
trace tables
value parameters
XOR
46. 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.
AND
fundamental scope principle
candidate
Formal parameters
47. The stucture of a procedure: Heading - ______ - Statement
value parameters
Scope Rule 1
Declaration
bottom up
48. When true the if executes the body which is a _________ statement.
Formal
Formal parameters
single
Character
49. This is where the module is invoked or called.
Formal
if
independent
call
50. Where the statements for the module are coded.
definition
Repeat-Until
Sequence
limited
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests