
Test on readLine() Function and Variables

Flashcard
•
Information Technology (IT)
•
9th Grade
•
Easy
Wayground Content
Used 1+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the purpose of the readLine() function?
Back
To gather input from the user.
2.
FLASHCARD QUESTION
Front
In the following code, what will the output be if the user enters “Pizza”?
var food = readLine(Favorite food: );
println(“You like” + food + “!”);
Back
You like Pizza!
3.
FLASHCARD QUESTION
Front
A variable is required to store data collected using the readLine() function.
Back
True
4.
FLASHCARD QUESTION
Front
User input collected with readLine() can only store numbers.
Back
False
5.
FLASHCARD QUESTION
Front
Explain how you used readLine() in the Mad Lib Story Pt. 2 Exercise to make your program interactive.
Back
To change the story of the main character and name of book.
6.
FLASHCARD QUESTION
Front
What is the proper function to call to print to the screen?
Back
println
7.
FLASHCARD QUESTION
Front
There are three basic types of variables. Which of the following is NOT one of them? number, boolean, string, array
Back
array
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
For Loops

Flashcard
•
9th Grade
9 questions
CLASA 9 TABLOURI STRING

Flashcard
•
9th - 10th Grade
10 questions
S3 Exam Revision Page3

Flashcard
•
9th Grade
6 questions
Játék - 5 percben

Flashcard
•
8th Grade
13 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
10 questions
Sentence Structure

Flashcard
•
9th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
ROAR Week 2025

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
14 questions
Points, Lines, Planes

Quiz
•
9th Grade