Programming Questions
Friday, September 19th, 20081. Explain the difference between the following:
a. Logic and syntax error
b. Source and object code
c. Compiling and executing
d. Machine language and assembly language
e. While loop and For loop
1. Explain the difference between the following:
a. Logic and syntax error
b. Source and object code
c. Compiling and executing
d. Machine language and assembly language
e. While loop and For loop
1. Read the temperature. If temperature (temp) is 25º, output ‘Room temperature’
2. Read a number N; if N is greater than 500, add 50 to the number. Print the number.
3. Input the score of a person; if the score is greater than 65, output ‘Pass’, otherwise output ‘Fail’.
Write a program to ask the user to enter price & quantity of an item. The program should also compute and display the amount due.
GBSS Mourns the lost of Shem Charles. He was a student at Form 5S2. We express deep sympathoy to his family, friends & love ones. May he rest in peace.
well, after all that I got a new lab out of it.
Thank God my house was solid, so I didnt have much to worry about
What are the intructions to:
1. get information into the computer
2. promp the user to input information
3. get output from the program.
4. Write a structured algorithm which requests the user to input the price of an item. The algorithm should also allow the user to enter the price and out it with suitable label.
5. Write a structured algorithm to read the licence plate number of a bus, the route it will be travelling and the number of passengers it contains. Output the information appropriately labelled.
1. What is meant by the term ‘Protocol’?
2. HTTP, PPP, TCP/IP, FTP, give the abreviations
3. What is a Network & list some disadvanatges of networking.
1. What is a pseudocode?
2. What are the 2 types of data?
3. What are the advantages of using variables over constants?
1. What is Data Communications
2. Define the following:
Simplex, Half-Duplex & Duplex
3. Define Bandwidth
4. List & explain the types of bandwidth
You are asked to call your aunt Paula in the UK.
1. List the steps in getting this done.
2. What is an algorithm?