Search Header Logo

CMSC 131 Quiz 1

Authored by Matt Weber

Computers

12th Grade

Used 1+ times

CMSC 131 Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

78 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the course CMSC 131 about?

Introduction to Python

Introduction to Java

Advanced C++ Programming

Web Development

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a level of software discussed in the document?

Operating systems

Applications

Compilers

Debuggers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of compilers in programming?

Manage computer resources

Translate source code into machine code

Execute programs directly

Support step-by-step execution

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'public class' keyword in a Java program?

To define a new class

To declare a variable

To execute a method

To print a statement

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is required in every Java application?

public static void main(String[] args)

System.out.println()

public class FirstProgram

int main()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the statement System.out.println("Terps are awesome!")?

Terps are awesome!

Hello, World!

Java Programming

Welcome to Java

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type in Java is used to store text?

String

int

float

char

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?