Information Technology
Form 5
Control Structures
WORKSHEETÂ (17 Marks)
...
Computers and Technology, 22.04.2021 14:00 dreannaevans2
Information Technology
Form 5
Control Structures
WORKSHEETÂ (17 Marks)
What is the purpose of control structures?
Your The purpose of a control structure is to control the flow of a program by analysing the variable.
For each control structure listed below state the category it belongs to.
While Loop   Â
IF-THEN Â Â Â
Repeat Until  Â
For Loop  Â
IF-THEN-ELSE
In your own words, explain the difference between:
IF-THEN and IF-THEN-ELSE statements.
Your
IF-THEN-
For Loop and While Loop
Your
When do you use the IF-THEN-ELSE statement?
Your
When do you use the Repeat Until Loop?
Your ​
Answers: 3
Computers and Technology, 21.06.2019 23:00
Describe in pseudocode an algorithm that given an integer n and a linked list of elements increases the linked list by a factor of n by replacing each element in the original list with n copies of that element. for example, if l: [18, 7, 4, 24, 11] and n = 3 the resulting list should be l: [18, 18, 18, 7, 7, 7, 4, 4, 4, 24, 24, 24, 11, 11, 11]. if the value of n is less than or equal to 0, the list should be empty after the call. what’s the running time of your algorithm?
Answers: 3
Computers and Technology, 22.06.2019 01:00
Search the web for two examples of digital art that you like. the examples must be from different mediums (example: one digital photo and one computer animation not two computer animations). compose an essay for each example you choose about why the piece appeals to you, and identify the medium used.
Answers: 1
Computers and Technology, 22.06.2019 19:00
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
Computers and Technology, 22.06.2019 21:40
Develop a function to create a document in the mongodb database “city” in the collection “inspections.” be sure it can handle error conditions gracefully. a. input -> argument to function will be set of key/value pairs in the data type acceptable to the mongodb driver insert api call b. return -> true if successful insert else false (require a screenshot)
Answers: 2
Mathematics, 07.06.2021 22:10
Mathematics, 07.06.2021 22:10
Mathematics, 07.06.2021 22:10
History, 07.06.2021 22:10
Mathematics, 07.06.2021 22:10
Geography, 07.06.2021 22:10
Mathematics, 07.06.2021 22:10
English, 07.06.2021 22:10
Mathematics, 07.06.2021 22:10