AP CSA U1L01-03

Quiz
•
Computers
•
11th - 12th Grade
•
Easy
Anne Kohart
Used 35+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
int x;
x = 2.3;
Error
2
2.3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
double x;
x = 7;
Error
7
7.0
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the following code print?
System.out.println("13" + 5 + 3);
21
1353
It will give a run-time error
138
It will give a compile-time error
Check MeCompare me
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you think would happen if you add 1 to the largest possible integer:
int x = Integer.MAX_VALUE;
x = x +1;
System.out.println(x);
Program will not compile
Program will send an error
You will get an incorrect value
You will get a float error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable that holds true or false
String
boolean
int
float
Alex Trebek
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name the data type: 1.0
double
int
char
boolean
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
TGT APCSA

Quiz
•
11th Grade
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
15 questions
Java Strings and Math Quiz

Quiz
•
12th Grade
19 questions
Java Method

Quiz
•
12th Grade
15 questions
002_Java Methods

Quiz
•
12th Grade - University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
15 questions
Soal Java

Quiz
•
11th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade