Search Header Logo

Accenture Placement Preparation

Authored by satish kumar

Engineering

12th Grade

Accenture Placement Preparation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of binary search?

O(n log n)

O(1)

O(n)

O(log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the concept of polymorphism in OOP.

Polymorphism allows methods to do different things based on the object it is acting upon, enabling flexibility and reusability in code.

Polymorphism is a method of data encryption in programming.

Polymorphism restricts methods to a single behavior for all objects.

Polymorphism is a technique for managing memory allocation in OOP.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a stack and a queue?

A stack can hold only one item at a time, while a queue can hold multiple items.

Both stack and queue use LIFO.

A stack uses FIFO, while a queue uses LIFO.

A stack uses LIFO, while a queue uses FIFO.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a train travels 60 miles in 1 hour, how far will it travel in 2.5 hours?

120 miles

180 miles

200 miles

150 miles

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A car's fuel efficiency is 25 miles per gallon. How many gallons are needed to travel 100 miles?

6 gallons

2 gallons

4 gallons

10 gallons

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the sum of two numbers is 30 and one number is 12, what is the other number?

18

15

20

25

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: print(2**3 + 3**2)?

15

18

17

16

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?