coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

Professional Development

20 Qs

quiz-placeholder

Similar activities

Banking Abbreviations

Banking Abbreviations

University - Professional Development

18 Qs

VCE-GAMMA-21.11.2023-AN

VCE-GAMMA-21.11.2023-AN

Professional Development

15 Qs

Dia D da Família na Escola

Dia D da Família na Escola

Professional Development

17 Qs

DINING APRIL quizz

DINING APRIL quizz

Professional Development

20 Qs

Jumble word

Jumble word

Professional Development

15 Qs

SASI -1st year -DAY4-FN (21.12.23)

SASI -1st year -DAY4-FN (21.12.23)

Professional Development

15 Qs

SASI -1st year -DAY4-AN (21.12.23)

SASI -1st year -DAY4-AN (21.12.23)

Professional Development

15 Qs

DSBS-AN-31.01.2024

DSBS-AN-31.01.2024

Professional Development

15 Qs

coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

Assessment

Quiz

English

Professional Development

Medium

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the outcome of the following code snippet? int func(int arr[], int n, int target) { int left = 0; int right = n - 1; while (left <= right) { int mid = left + (right - left) / 2; if (arr[mid] == target) return mid; else if (arr[mid] < target) left = mid + 1; else right = mid - 1; } return -1; }
Searching for a target element in a sorted array.
Reversing the order of elements in an array.
Sorting an array in ascending order.
Calculating the sum of elements in an array.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the best case complexity of insertion sort?
O(n**2)
O(n)
O(nlogn)
O(n**3)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many variables are required to implement stack using arrays?
1
2
3
4

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Stack can be implemented which of the following concepts?
Array
Linked list
Both a and b
Trees

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The process of deleting an element into stack is called?
pop operation
push operation
underflow operation
enqueue operation

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The postfix form of A*B+C/D is?
*AB/CD+
AB*CD/+
A*BC+/D
ABCD+/*

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The process of deleting an element from the queue is called?
pop operation
push operation
enqueue operation
dequeue operation

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?