diff set 2 2023

diff set 2 2023

University

10 Qs

quiz-placeholder

Similar activities

Java101 Chapter 02 OOP and Java

Java101 Chapter 02 OOP and Java

University

10 Qs

bt 4 2023

bt 4 2023

University

10 Qs

HRM 540 Group 3

HRM 540 Group 3

University

10 Qs

Manpower for International Business

Manpower for International Business

University

15 Qs

Mani Income Tax Law and Practice India

Mani Income Tax Law and Practice India

University

10 Qs

E-Business Technology Basics_Activity

E-Business Technology Basics_Activity

University

15 Qs

Parental Leave Discussion

Parental Leave Discussion

University

7 Qs

diff 1 set

diff 1 set

University

10 Qs

diff set 2 2023

diff set 2 2023

Assessment

Quiz

Business

University

Hard

Created by

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

Media Image

 predict the logo

Burton

Tissot

Candillac

 Dr Pepper

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Predict the logo

Peter England

Tissot

Dr Pepper

fastrack

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?