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

Python Programming Quiz

Python Programming Quiz

Professional Development

25 Qs

VCE-ALPHA-25.11.2023-AN

VCE-ALPHA-25.11.2023-AN

Professional Development

15 Qs

DSBS-FN-30.01.2024

DSBS-FN-30.01.2024

Professional Development

15 Qs

ONLINE TEST

ONLINE TEST

Professional Development

20 Qs

ROL.12

ROL.12

Professional Development

20 Qs

A Class 7 Passage vocabs part one

A Class 7 Passage vocabs part one

Professional Development

20 Qs

Past Tenses and Car Accidents

Past Tenses and Car Accidents

Professional Development

15 Qs

X80 Knowledge check

X80 Knowledge check

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?