1. Which of the following is NOT a feature of OOP?

TECH WHIZ

Quiz
•
Engineering
•
University
•
Hard
Aastha Trivedi
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a) Encapsulation
b) Polymorphism
c) Recursion
d) Inheritance
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2. Which OOP principle allows different classes to have methods with the same name but different implementations?
a) Abstraction
b) Encapsulation
c) Inheritance
d) Polymorphism
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What is the time complexity of searching an element in a balanced binary search tree (BST)?
a) O(n)
b) O(log n)
c) O(n log n)
d) O(1)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What is the primary advantage of using a linked list over an array?
a) Faster access to elements
b) Dynamic size allocation
c) Lower memory usage
d) Constant-time search operation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which CSS property makes an element take up the entire width of its container?
a) display: block;
b) display: inline;
c) display: flex;
d) display: grid;
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
6. How much memory does the following structure take?
struct test {
char a;
int b;
char c;
};
a) 6 bytes
b) 8 bytes
c) 12 bytes
d) 10 bytes
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
7. Which of the following statements about pointers is correct?
a) void* pointer cannot be typecasted
b) A pointer can store the address of any variable, regardless of type
c) Dereferencing a NULL pointer is valid
d) Pointer arithmetic is not allowed in C
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
chat Bot 12 preguntas

Quiz
•
University
10 questions
Deep Learning

Quiz
•
University
15 questions
GEstion del Cronograma - Final

Quiz
•
University
15 questions
Preguntas de PREXOR

Quiz
•
University
10 questions
CNN Layer

Quiz
•
University
10 questions
BASIS MPC

Quiz
•
University
10 questions
TUTORIAL 2 -LUBRICATION

Quiz
•
University
11 questions
Cuestionario Logistica

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade