CMSC 131 Quiz

CMSC 131 Quiz

12th Grade

73 Qs

quiz-placeholder

Similar activities

Computer science Study Guide

Computer science Study Guide

9th - 12th Grade

68 Qs

XI Software Concepts & Number System conversion

XI Software Concepts & Number System conversion

9th - 12th Grade

69 Qs

python_22

python_22

12th Grade

71 Qs

APCS Principles Practice Exam

APCS Principles Practice Exam

8th Grade - University

75 Qs

Python 1 Review Game

Python 1 Review Game

9th - 12th Grade

73 Qs

computer science unit 2

computer science unit 2

9th - 12th Grade

69 Qs

Review for Fall Semester Exam - CTE

Review for Fall Semester Exam - CTE

8th Grade - University

70 Qs

COMPUTER  SCIENCE A MIDTERM

COMPUTER SCIENCE A MIDTERM

9th - 12th Grade

77 Qs

CMSC 131 Quiz

CMSC 131 Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?