
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
6 questions
Technology
Flashcard
•
9th Grade
8 questions
Legal Terms Flashcards
Flashcard
•
KG
9 questions
The Clever Mouse-deer and the Crocodile
Flashcard
•
9th Grade
10 questions
Fun Science Flashcards for Kids
Flashcard
•
KG
7 questions
Past Simple
Flashcard
•
10th Grade
10 questions
High Note 2. Unit 1. Test your vocabulary
Flashcard
•
10th Grade
10 questions
EARTHQUAKES
Flashcard
•
8th Grade
7 questions
WORDLIST SD
Flashcard
•
9th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
13 questions
Halloween Trivia
Quiz
•
9th Grade
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
9th Grade
20 questions
Cell Transport
Quiz
•
9th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Translations, Reflections & Rotations
Quiz
•
8th - 10th Grade