Best MCQs on Programming Languages

Best MCQs on Programming Languages

Professional Development

•

30 Qs

quiz-placeholder

Similar activities

CE - UOB Review

CE - UOB Review

Professional Development

•

26 Qs

Crónicas de un informático corriente en un mundo diferente

Crónicas de un informático corriente en un mundo diferente

Professional Development

•

26 Qs

ReactJS Online Test

ReactJS Online Test

Professional Development

•

25 Qs

Printer and Scanner

Printer and Scanner

Professional Development

•

25 Qs

CS Quiz Test 2

CS Quiz Test 2

Professional Development

•

25 Qs

QUIZ-STACK_QUEUE_Jan'24

QUIZ-STACK_QUEUE_Jan'24

Professional Development

•

25 Qs

AI QUEST QUIZ ROUND-1

AI QUEST QUIZ ROUND-1

Professional Development

•

25 Qs

DSA QUIZ-2

DSA QUIZ-2

Professional Development

•

25 Qs

Best MCQs on Programming Languages

Best MCQs on Programming Languages

Assessment

Quiz

•

Computers

•

Professional Development

•

Practice Problem

•

Hard

Created by

Just Shorts

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?