Define the term computer program.(Answered)
Define the term programming.(Answered)
Define the term programming language.(Answered)
Define the term program syntax.(Answered)
Define the following terms as applied in computer programming.
a) Source program
b) Object code
c) Translator.(Answered)
Name the language translator that converts an assembly language into machine code(Answered)
Mention three types of language translators.(Answered)
Give the differences between an interpreter and a compiler.(Answered)
Give two differences between interpreted and compiled program.(Answered)
Mention the purpose of linking during program compiling.(Answered)
Define the term low level language as applied in computer programming.(Answered)
Mention two types of low-level languages.(Answered)
Differentiate between machine and assembly programming languages.(Answered)
Mention why a programmer who intends to write code in machine language must first understand the Central Processing Unit (CPU) architecture of the target computer.(Answered)
Mention four categories of high level languages.(Answered)
Give two differences between low level and high level programming languages.(Answered)
Define the term structured programming.(Answered)
List three benefits of structured programming.(Answered)
Name three control structures used in programming.(Answered)
Write the following programming languages acronyms in full.
i)COBOL
ii)BASIC
iii)FORTRAN.(Answered)
Define the term problem-oriented programming language.(Answered)
Define the term encapsulation as applied in object-oriented programming.(Answered)
Define the term algorithm as applied in computer programming.(Answered)
What is a web scripting language?(Answered)
Write the following web scripting in full.
i) HTML
ii) XML.(Answered)
Define the term tag as applied in web scripting.(Answered)
Give three examples of object oriented programming.(Answered)
List two types of program documentation.(Answered)
Define the term pseudocode.(Answered)
Mention two advantages of low level programming languages.(Answered)
Define the following terms as applied in computer programming.
i) Flowchart,
ii) Dry run,
iii) Documentation,
iv) Code translation.(Answered)
Give two disadvantages of high level programming language.(Answered)
List the six stages of program development.(Answered)
Name the two types of errors that are likely to be encountered in a program code during program testing.(Answered)
Differentiate between programmer-oriented and operator oriented documentation.(Answered)
Define these terms as used in program development.
i) Program testing,
ii) Program coding.(Answered)
Write a pseudocode that can be used to draw this flow chart.(Answered)
Draw a flow chart that will accept two integers, sum them, and then display the
answers.(Answered)
Draw a flow chart that was used to come up with the following pseudocode.
Start
N=0
X=0
While n<3
Repeat
X=X+1
While X<2
N=N+1
End while
Stop(Answered)
Draw a flow chart that can be used to create a program which accepts two
number greater than zero. The two numbers are multiplied to display a product. The
product displayed should not be greater than twenty. If the product is greater than twenty, the program will ask for re-input of the
two numbers.(Answered)
Study this flowchart and use it to answer the questions that follow.
Start
Set S=1
Ready
Repeat
Y= Y/10
S= S+1
Y= Y/10
End while
Display S
Stop
a) Give the expected output from the flow chart when the value of Y is:
i) 48
ii) 9170
iii) 800
b) Write the pseudocode that can be used to create a program represented by the
above flow chart.
(Answered)
The following is a menu of a school’s examination processing system.
MAIN MENU
RECORDS marks……R
EDIT marks……………E
DELETE marks……….D
FIND marks…………...F
QUIT SYSTEM………..Q
a) Sketch a flowchart for a program that would display this menu.
b) Translate this flowchart into a pseudocode.(Answered)
Study the following flowchart then answer the questions that follow.
a) Identify one logical error in this flowchart.
b) Describe the error identified above.
c) Mention how this problem can be solved.
d) Modify the flowchart such that the starting value would be 20 and the final value would be 9.(Answered)
Give one advantages of having system documentation available online.(Answered)
Differentiate between user documentation and operator documentation.(Answered)
Explain three program control structures.(Answered)
Explain three disadvantages of low level languages.(Answered)
Explain three advantages of high level languages.(Answered)
Name three classifications of high level programming languages.(Answered)
Explain three methods of detecting errors.(Answered)
Give three examples of selection construct.(Answered)
Explain three types of program maintenance.(Answered)
Write a pseudocode for a program that would:
i) Prompt the user to enter the length and width of a rectangle.
ii) Calculate the area and perimeter of the rectangle.
iii) Display the results.(Answered)
State three qualities of a good pseudocode.(Answered)
Define the term flowcharts.(Answered)
List two types of flowcharts(Answered)
State three functions of a compiler.(Answered)
List three advantages of a compiler.(Answered)
State three functions of an assembler.(Answered)
Differentiate between a syntax error and logical error.(Answered)
Explain any two main test of data that can be used to test a program.(Answered)