Master all past questions related to Programming Language.
42 questions across all exams
In a computer system, SQL, simply means.................Query language.
Sample
Simple
Stratified
Structured
The fourth generation programming language includes the following except
Borland Delphi
Java
Oracle reports
Postscript
Which of these characteristics of languages is common to all computer programs?
It uses symbolic storage address
Machine dependence
Uses instructions that seem like English
Uses mnemonics
The three levels of programming languages are
assembly language, low level language and high level language
java, C language and pascal
machine language, low level language and high level language
machine language, machine code and assembly language
A high level language can be converted to a machine language using
a compiler
an editor
a utility program
an operating system
A high-level language program translator which converts a source code to machine readable format and executes it one line at a time is called
compiler
debugger
editor
interpreter
Which of the following can be used to write a high level program source code?
Lotus 1-2-3
Ms Access
Opera
Text Editor
Change a(b-c)2/d + 2 in algebraic expression to BASIC arithmetic expression
A * b2- c2 d + 2
a *(B - C)∧ 2/D + 2
ab2 - a c2 + d + 2
A * (B - C)2/D + 2
Translate 2m2 + 3n - 9 as a BASIC arithmetic expression
2 * m * 2+ 3 * n - 9
2 * m A2 + 3 * n - 9
2 *2 * m + 3 * n - 9
2 *m * m * n + 3- 9
How many times will the statement lines 50 and 60 be repeated?
2
3
4
5
Which of the following best represents the sequence o f output from the program?
2.4
4, 16.. 36. 64
The last output that will be displayed by the program is
20
36
64
120
Which o f the following symbols is not a relational operator in BASIC programming language?
<
>
∧
⇐
Which o f the following statements can be used for looping in BASIC?
FOR ... NEXT
IF ... THEN
GO TO
GO SUB
The IF ..... THEN statement in BASIC programming is
a transfer of control
used to redirect a statement
used to eliminate the need for promptinhg each INPUT statement
a conditional branch statement
The path labelled I is the
system design
System implementation
study review
feasibility study
The path labelled II is the
system implementation
The path labelled III is the
The first stage in program development is problem
analysis
definition
solving
testing
The following symbols are used in flowcharting except the
terminal symbol
process symbol
input/outut symbol
close symbol
What would you advice the school to do?
Automate the system
Close down the school
Increase the number of staff
Buy more calculators for the staff
If you are given the contract, what would be your first step of action?
Analyse the results.
Design a software
Investigate the problem
Maintain the staff
In the I.P.O cycle, P stands for
Pack
Pointer
Procedure
Processing
The process of testing the logic of programs to ensure they give correct result is known as
algorithm
desk checking
flow charting
table checking
Which of the following programming languages needs no translator for it to run?
High Level Language.
Low Level Language.
Machine Language
Assembly Language
An example of a programming language that uses mnemonic codes is
Assembly program
BASIC program
COBOL program
FORTRAN program
The keyword DIM in the statement stands for
diagram
diameter
diamond
dimension
The expression DEPOSIT (1, 10) stands for an array with
1 element.
11 elements
10 elements
no element
QBASIC keywords do not include
FIND
LET
REM.
STOP
The three major types of language translators are
assembler, complier and editor
assembler, compiler and interpreter
compiler, debugger and editor
debugger, assembler and interpreter
A suitable BASIC notation for the expression me2 is
m * c∧2
m c 2
m c ∧
Evaluate the BASIC statement LET Z = 4* WA 2 + 2*Y given that W = 5 and Y = 10.
50
80
100
The part labelled I represents
begin/start symbol.
process/action symbol
read/write symbol.
stop/end symbol
The part labelled II represents
decision symbol
read/write symbol
The part labelled III represents
decision symbol.
read/ write symbol
stop symbol
A pictorial representation of program flow is referred to as
flow chart
process mapping
pseudo code
A pictorial representation of the logic of a program is called
flowchart
pseudocode
software
A subroutine is called in a flowchart through the use of
data
predefined process
process
terminator
The symbol used to represent an execution flow in a flowchart is
A
B
C
D
The flowchart symbol represents
comment
connector
decision
input/output
The following are the guidelines for drawing flow charts except that it
must have a logical start and finish
should be clear, neat and easy to follow
should follow a direction of right to left or bottom to top
should follow a direction of left to right or top to bottom