diff set 2 2023

diff set 2 2023

University

10 Qs

quiz-placeholder

Similar activities

Java101 Chapter 06 Array and ArrayList

Java101 Chapter 06 Array and ArrayList

University

10 Qs

diff 1 set

diff 1 set

University

10 Qs

HTML Quiz

HTML Quiz

KG - Professional Development

6 Qs

E-Business Technology Basics_Activity

E-Business Technology Basics_Activity

University

15 Qs

Week 2 IT and Business Processes

Week 2 IT and Business Processes

University

8 Qs

Chapter 3 - Organization Structure and Culture

Chapter 3 - Organization Structure and Culture

University

9 Qs

BT_M2_2023

BT_M2_2023

University

10 Qs

Personal Income Tax

Personal Income Tax

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?