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

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

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

Professional Development

15 Qs

RMP MCA-22.01.24-searching and sorting-FN

RMP MCA-22.01.24-searching and sorting-FN

Professional Development

15 Qs

SASI -BATCH 3-DAY6-FN(25.11.23)

SASI -BATCH 3-DAY6-FN(25.11.23)

Professional Development

15 Qs

DSBS-AN-31.01.2024

DSBS-AN-31.01.2024

Professional Development

15 Qs

coding skills (ISCP 02) Tuesday slot1 (9am - 11:00am) CSE A & C

coding skills (ISCP 02) Tuesday slot1 (9am - 11:00am) CSE A & C

Professional Development

20 Qs

coding skills(ISCP 02) Tuesday slot3 (2.00pm - 4:00pm) CSE X & Z

coding skills(ISCP 02) Tuesday slot3 (2.00pm - 4:00pm) CSE X & Z

Professional Development

20 Qs

VCE-BETA-20.11.2023-AN

VCE-BETA-20.11.2023-AN

Professional Development

15 Qs

Gamma-AN-01.05.2024

Gamma-AN-01.05.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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?