
H txt file read

Quiz
•
Computers
•
10th Grade
•
Easy
Sarah Lyon
Used 1+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the file being read in to this program?
file
readlines()
r
schoolGrades.txt
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
When counter has a value of 0, what will be stored inside the variable 'name'
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
When counter has a value of 0, what will be stored inside the variable 'score'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When counter has a value of 1, what will be stored inside the variable 'pupil'
Mary
Mary, 45
149
Malcolm,149
5.
MATCH QUESTION
1 min • 1 pt
When counter has a value of 2, what will be stored inside each of the following variables/arrays at line 10.
['John', '75']
names()
John
pupil
['Mary', 'Malcolm', 'John']
parts()
75
score
John, 75
name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of subprogram is getData()?
procedure
function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the scope of the variable 'pupil'?
local
global
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
String Manipulation

Quiz
•
9th - 11th Grade
16 questions
Variables

Quiz
•
7th - 10th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
15 questions
Higher Computing SDD Revision

Quiz
•
10th Grade
7 questions
Higher Software Development Subprograms and Parameters

Quiz
•
9th Grade - University
13 questions
Thunkable Intro!

Quiz
•
9th - 12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
10 questions
1.1 Systems Architecture

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade