Best MCQs on Programming Languages

Best MCQs on Programming Languages

Professional Development

30 Qs

quiz-placeholder

Similar activities

100Devs - LwL - Class 09 - JavaScript Intro

100Devs - LwL - Class 09 - JavaScript Intro

11th Grade - Professional Development

31 Qs

BT Final HTML & CSS & JS

BT Final HTML & CSS & JS

Professional Development

25 Qs

WEBZEN MCQ

WEBZEN MCQ

Professional Development

25 Qs

Final Examination ITESDT

Final Examination ITESDT

Professional Development

34 Qs

Z Institute

Z Institute

Professional Development

30 Qs

JAVA QUIZ (FDP)

JAVA QUIZ (FDP)

Professional Development

31 Qs

WP CHAPTER1 TO 3

WP CHAPTER1 TO 3

Professional Development

32 Qs

Java Concurso

Java Concurso

Professional Development

30 Qs

Best MCQs on Programming Languages

Best MCQs on Programming Languages

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Just Shorts

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to access members of a structure through a pointer?

. (dot)

-> (arrow)

* (asterisk)

& (ampersand)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C++, what is the diamond problem related to?

Templates

Multiple Inheritance

Exception Handling

Pointers

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which smart pointer maintains shared ownership in C++?

unique_ptr

shared_ptr

weak_ptr

auto_ptr

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between malloc and new in C++?

malloc calls constructors, new does not

new calls constructors, malloc does not

Both call constructors

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes RAII in C++?

Memory allocation after runtime

Resource management using constructors/destructors

Run-time access of interface inheritance

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is immutable in Python?

List

Dictionary

Tuple

Set

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the is operator check?

Value equality

Identity (same memory location)

Data type

None of the above

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?