
Best MCQs on Programming Languages
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Just Shorts
Used 1+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
30 questions
ICDL/ECDL COMPUTER ESSENTIALS - QUIZ #2
Quiz
•
Professional Development
25 questions
Scratch Programming Quiz
Quiz
•
Professional Development
25 questions
LIST-TUPLES-SET-DICTIONARY
Quiz
•
Professional Development
25 questions
TUGAS ULANGAN KELAS 1
Quiz
•
Professional Development
25 questions
security+ (601)
Quiz
•
9th Grade - Professio...
30 questions
Elements of Art and Principles of Design - Quiz 1
Quiz
•
10th Grade - Professi...
25 questions
DATASTRUCTURES-3SEM
Quiz
•
Professional Development
25 questions
Operating Systems
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
