
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
70 questions
AQA A Level Computer Science

Quiz
•
12th Grade
74 questions
Entrepreneurship Final Review

Quiz
•
9th - 12th Grade
70 questions
Python Programming Quiz

Quiz
•
9th - 12th Grade
72 questions
Python Basics

Quiz
•
9th - 12th Grade
69 questions
ITF+ Quiz part 15

Quiz
•
12th Grade
73 questions
Python Review

Quiz
•
12th Grade
75 questions
Preguntas sobre Python

Quiz
•
12th Grade
77 questions
Linux Operating System Quiz 1

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade