Midterm Exam - CTCC0323

Quiz
•
Computers
•
University
•
Hard
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
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
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
Similar Resources on Wayground
30 questions
Mastering Python Basics

Quiz
•
University
30 questions
JAVA PROGRAMMING

Quiz
•
University
33 questions
Pemrograman Python Quiz ( Session IV - VI)

Quiz
•
University
30 questions
Hunt the bug Quiz

Quiz
•
University
33 questions
Python Programming Quiz

Quiz
•
University
34 questions
Java Quiz

Quiz
•
11th Grade - University
30 questions
Computer Programming-2

Quiz
•
University
35 questions
Final Exam - BECC0302

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade