Be able to obtain user input from the keyboard.Be able to output data and information from a program to the computer display.
Be able to read/write from/to a text file.
Track each student's skills and progress in your Mastery dashboards
Give this quiz to my class
Q 1/10
Score 0
What code would ask the user for their name?
45
USERINPUT
USERINPUT <-- name
name <-- USERINPUT
constant NAME <-- USERINPUT
Q 2/10
Score 0
What line of code would you need to output a message to say they have passed?
45
OUTPUT "Well done you've passed"
USERINPUT "You've passed"
OUTPUT "Please re-do the test"
"Well done you've passed"
10 questions
Q.
What code would ask the user for their name?
1
45 sec
3.2.7
Q.
What line of code would you need to output a message to say they have passed?
2
45 sec
3.2.7
Q.
Which program will ask the user for their Maths score and output it to the screen?
3
45 sec
3.2.7
Q.
Which line of code will open a text file containing the scores?
4
45 sec
3.2.7
Q.
Which line of code will close the file?
5
45 sec
3.2.7
Q.
Why do you need to use CLOSE(file)?
6
45 sec
3.2.7
Q.
What type of information from a gaming program would be efficient to store in a file?
7
45 sec
3.2.7
Q.
Why would storing scores in a file be efficient, compared to in the game its self?
8
45 sec
3.2.7
Q.
What does it mean if a file is read only?
9
45 sec
3.2.7
Q.
How is the append mode of a file different from the write mode?