Midterm Exam - CTCC0323

Midterm Exam - CTCC0323

University

33 Qs

quiz-placeholder

Similar activities

Battle With DSA

Battle With DSA

University

30 Qs

Python MCQ for II Sem

Python MCQ for II Sem

University

30 Qs

Coding 4 All 2023 Java Final

Coding 4 All 2023 Java Final

University

33 Qs

OOP-Code

OOP-Code

University

34 Qs

Computer Programming 2

Computer Programming 2

University

30 Qs

PYTHON

PYTHON

University

30 Qs

Python Coding Specialist Exam

Python Coding Specialist Exam

9th Grade - Professional Development

31 Qs

Computer Pretest2(Python Grade7_t1)

Computer Pretest2(Python Grade7_t1)

2nd Grade - University

30 Qs

Midterm Exam - CTCC0323

Midterm Exam - CTCC0323

Assessment

Quiz

Computers

University

Hard

Created by

THOMAS SANCHEZ

Used 8+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?