
CMSC 131 Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Matt Weber
FREE Resource
73 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What was the topic on Monday, September 23, 2019, related to software development?
StringBuffers
Returning Values
Software Development
Constructors
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following topics was covered on Wednesday, September 18, 2019?
Nested Loops
Floating-Point Calculations
Uninitialized Variables
Short-Circuiting
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the .equals() method in Java?
To compare two objects for equality
To add two numbers
To print a message to the console
To terminate a loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "this" keyword refer to in Java?
The current object
A static method
A local variable
A global constant
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of a "finally" block in exception handling?
To execute code after a try-catch block, regardless of whether an exception was thrown
To catch exceptions
To declare a variable
To initialize an array
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an immutable class in Java?
A class whose objects cannot be modified after creation
A class that can be extended
A class with only static methods
A class that implements an interface
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the ternary operator in Java?
To perform a conditional operation in a single line
To declare a loop
To define a class
To handle exceptions
Create a free account and access millions of resources
Similar Resources on Wayground
68 questions
Computer science Study Guide

Quiz
•
9th - 12th Grade
77 questions
AP CSA Semester 1 Review (Mod 1 - 5)

Quiz
•
10th - 12th Grade
75 questions
Review Computer Question

Quiz
•
9th - 12th Grade
70 questions
Review for Fall Semester Exam - CTE

Quiz
•
8th Grade - University
68 questions
AP CSP AP Test Study

Quiz
•
9th - 12th Grade
71 questions
H446 Section 1: Components of a computer

Quiz
•
11th Grade - University
78 questions
Introduction to Coding and Programming Quiz

Quiz
•
12th Grade
71 questions
Animation and Game Design Unit 1 M1 Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade