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
10 questions
UAS Pemrograman Komputer dan Sistem Otomatisasi

Quiz
•
University
15 questions
Limbah dan Drainase

Quiz
•
University
11 questions
Cuestionario Logistica

Quiz
•
University
10 questions
Deep Learning

Quiz
•
University
12 questions
chat Bot 12 preguntas

Quiz
•
University
15 questions
GEstion del Cronograma - Final

Quiz
•
University
10 questions
AI BASED CREATIVE QUIZ

Quiz
•
University
15 questions
Komponen Las Asetilena

Quiz
•
11th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade