diff set 2 2023

Quiz
•
Business
•
University
•
Hard
Smiley Sunshine
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By default, all the files in C++ are opened in _________ mode.
Binary
VTC
Text
ISCII
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
interface Foo{ int x = 10;}
public class Test {
public static void main(String[] args) {
Foo.x = 20;
System.out.println(Foo.x);
}
}
Prints 10
Prints 20
Compile Time Error
Runtime error because Foo.x is final.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true for inheritance in Java?
The “extend” keyword is used to extend a class in java.
You can extend multiple classes in java.
Private members of the superclass are accessible to the subclass
We can’t extend Final classes in java.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The major goal of inheritance in C++ is
To facilitate the re usability of code
To extend the capabilities of a class
To facilitate the conversion of data types
To help modular programming
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Multi-level inheritance represents ____ relationship.
Parent-Child-Grandchild
Parent-Child-Parent
Parent-Child
Parent-Parent
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
predict the logo
Burton
Tissot
Candillac
Dr Pepper
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the logo
Peter England
Tissot
Dr Pepper
fastrack
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
BT_M2_2023

Quiz
•
University
11 questions
BUS1203 - T7 (1): Developing and Marketing Products & Services

Quiz
•
University
15 questions
Midterm Exam - International Management Test 2

Quiz
•
University
5 questions
19A1 - Advanced Fin. Acc. - Intercompany Profit Transaction

Quiz
•
University
12 questions
Communicating your employability

Quiz
•
University
11 questions
External Environment and Business Challenges

Quiz
•
University
6 questions
Marketing Recap Chap 6

Quiz
•
University
7 questions
INVESTMENT IN ASSOCIATES & JOINT ARRANGEMENTS

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade