Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS – 1P Using Electronic Voting System (EVS) questioning in the Instructional Design for CS-1P.

Similar presentations


Presentation on theme: "CS – 1P Using Electronic Voting System (EVS) questioning in the Instructional Design for CS-1P."— Presentation transcript:

1 CS – 1P Using Electronic Voting System (EVS) questioning in the Instructional Design for CS-1P

2 CS – 1P What are the correct values for E and F after executing the code? 3, 4 3, 5 -1, 10 0, 9 Never finishes Don't know None of these E, F : Integer; E := 4; F := 3; while E > 0 loop if F > 5 then F := F + 1; else F := F + 2; end if; E := E - 1; end loop;

3 CS – 1P Changing what in the state, each time we draw the wheel, would make the wheel appear to move? Radius Angle The extremities Hub other

4 CS – 1P What should Largest be initialised to? 0 1 -99999999 First array value Diff, now Ans 1 Diff, now Ans 2 Diff, now Ans 3 Diff, now Ans 4 other don't know

5 CS – 1P We require a Boolean expression that has the value True if either of the Integer variables P or Q is zero, and has the value False otherwise. Which of the following expressions meet this requirement? 1. P and Q /= 0 2. P or Q = 0 3. P = 0 or Q = 0 1 1,2 1,3 1,2,3 2 2,3 3 None Dunno

6 CS – 1P Consider the plan "Draw all of the horizontal lines and then draw all of the vertical lines“ At the ***highest level***, what kind of action is this? Repetitive Conditional Sequential Don't know

7 CS – 1P ***At the top level***, what kind of activity is this? Repetitive, I know in advance how many repetitions Repetitive, I don't know how many repetitions in advance Two-armed Conditional One-armed Conditional Sequential I don't know

8 CS – 1P What part of the sentence do I need to store in variables in order to write this program? The whole sentence in an array Only one character in the sentence need be stored at any one time Just 4 consecutive characters in the sentence at any one time Some other choice Haven't a clue Problem: Work out whether the string "help" appears in a sentence typed at the keyboardProblem: Work out whether the string "help" appears in a sentence typed at the keyboard


Download ppt "CS – 1P Using Electronic Voting System (EVS) questioning in the Instructional Design for CS-1P."

Similar presentations


Ads by Google