Midterm Exam - CTCC0323

Midterm Exam - CTCC0323

University

33 Qs

quiz-placeholder

Similar activities

Programming Logic & Design

Programming Logic & Design

KG - University

28 Qs

SYSTEM UNIT CHAP3 T/F (2)

SYSTEM UNIT CHAP3 T/F (2)

University

28 Qs

Application Software

Application Software

University

29 Qs

Scratch Review

Scratch Review

KG - University

28 Qs

TIN 9 ÔN TẬP CUỐI KỲ 1

TIN 9 ÔN TẬP CUỐI KỲ 1

9th Grade - University

28 Qs

Pre-Test Pemrograman Lanjut

Pre-Test Pemrograman Lanjut

University

35 Qs

HTML and CSS

HTML and CSS

University

30 Qs

Dessain WEB Dinamis MM A

Dessain WEB Dinamis MM A

University

33 Qs

Midterm Exam - CTCC0323

Midterm Exam - CTCC0323

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

THOMAS SANCHEZ

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

33 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 3 pts

What is the full name of your instructor for CTCC0323?

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

A type of parameter which is defined in the method’s signature and used within the method.

formal parameter

actual parameter

signature parameter

real parameter

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is the purpose of the void keyword in declaring methods?

to not return any values

to return specific data types

to return specific values

to return all data types

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

The _____ keyword is a non-access modifier used for methods, which can help access methods without creating an object of a class.

static

void

public

console

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Consider the following method signatures: void printMessage(String message) and void printMessage(int num). Can they properly function? Why?

Yes, they will properly work because of method overloading.

Yes, they will properly work because of method overriding.

No, because they have different parameters.

No, because they don’t have any code blocks.

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

Based on the given code snippet. The class Dog can make use of the method sleep from the class Cat. True or False?

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

Based on the given code snippet. Will the method work? Why or why not?

The method will work since it has a print function.

The method will work since it has no parameters.

The method will not work since it has a print function.

The method will not work since it has parameters.

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?