
kotlin Quiz 2
Authored by Mohamed Gamal
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
val num = 5
num.pow(2)
10
25
Error
55
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
from what we can read input from user?
cin>>
stdin.readlinesync()
Scanner(System.in).next()
Scanner(System.`in`).next()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
val text="TeXt";
println(text.uppercase());
what is the output?
text
tExT
TEXT
TeXt
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var text="TeXt";
print("text.tolowercase()");
what is the output?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
val text="a-b-c-d";
print(text.split("-"));
abcd
a b c d
[a, b, c, d]
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
var text=" a b c d ";
print("text.trim()");
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
10 questions
PSP Week3
Quiz
•
University
10 questions
CS100||MsWord
Quiz
•
University
15 questions
GDSC Intro Quiz
Quiz
•
University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
GIS - Coordinate Systems
Quiz
•
University
10 questions
Creating tables in HTML
Quiz
•
University
10 questions
System Analysis & Design
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University