Search Header Logo

TECH WHIZ

Authored by Aastha Trivedi

Engineering

University

Used 2+ times

TECH WHIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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



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

  1. 4. What is the primary advantage of using a linked list over an array?

  1. a) Faster access to elements

  1. b) Dynamic size allocation

  1. c) Lower memory usage

  1. 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

  1. 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

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?