Concepts of programming
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
What is a HIGH level programming language? | A problem oriented language consisting of English like statements.
🗑
|
||||
What is a programming language? | A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks.
🗑
|
||||
What is a variable? | A symbol or name that stands for a value. When a name is assigned to a memory location so that changing data can be stored
🗑
|
||||
What is a constant? | When a name is assigned to a memory location to store a fixed piece of data eg PI=3.142
🗑
|
||||
What is the process of dry running? | When a program is producing unexpected results, the programmer will manually record the value of all variables after each line of code has been executed.
🗑
|
||||
What is iteration? | A programming structure which allows a section of code to be repeated a number of times.
🗑
|
||||
What is selection? | A programming structure which allows one set of statements to be executed depending on a condition.
🗑
|
||||
What is a procedure? | A separate section of code which is only executed when called.
🗑
|
||||
What is the difference between a procedure and a function? | A function call is part of an expression. eg VAT(amount%)
A procedure call is a statement on its own. eg CALL VAT(amount%)
🗑
|
||||
Give an example of an assignment statement. | spaces := spaces + 1
🗑
|
||||
Name 3 different types of data. | string, integer, real, boolean
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
kjg
Popular Computers sets