Search Header Logo

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

Authored by CCC info@ccc.training

English

Professional Development

Used 1+ times

coding skills (ISCP 02) Tuesday slot1 (9am - 11:00am) CSE A & C
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

1 min • 1 pt

The postfix form of A*B+C/D is?

*AB/CD+
AB*CD/+
A*BC+/D
ABCD+/*

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many variables are required to implement queue using arrays?

1
2
3
4

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the data structure follows FIFO principle?

Stack
Queue
Linked list
Tree

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If REAR, FRONT are the queue variables, then identify correct statement while deleting a value

FRONT=FRONT+1
REAR=REAR+1
REAR=REAR-1
FRONT=FRONT-1

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a stack and are deleted one at a time, in what order will they be removed?

ABCD
DCBA
DCAB
ABDC

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Complexity of linear search if the element to be searched is at index 0 in the array

O(n)
O(n*n)
O(1)
O(nlogn)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the following Code Snippet, if you apply this linear search code to an array of 15 elements and the target is found at the 5th position, what value will be returned? int linearSearch(int arr[], int n, int target) { for (int i = 0; i < n; i++) { if (arr[i] == target) return i; } return -1; }

0
1
4
5

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?