Logical and Programming Questions

Logical and Programming Questions

Professional Development

20 Qs

quiz-placeholder

Similar activities

Latihan soal AKG MI Pedagogik

Latihan soal AKG MI Pedagogik

Professional Development

20 Qs

Day 3 Component Detail Quiz

Day 3 Component Detail Quiz

Professional Development

16 Qs

EXCEL

EXCEL

Professional Development

20 Qs

Konrad o el xiquet que va eixir d'una llauna de conserves

Konrad o el xiquet que va eixir d'una llauna de conserves

Professional Development

15 Qs

Egurukul 2.0 January Quiz

Egurukul 2.0 January Quiz

Professional Development

16 Qs

FR - IAS 37 & IAS 10 , IAS 21

FR - IAS 37 & IAS 10 , IAS 21

Professional Development

17 Qs

Repaso AFA Octubre V.P.

Repaso AFA Octubre V.P.

Professional Development

20 Qs

IEI Awareness Quiz - IEI Salem Local Centre

IEI Awareness Quiz - IEI Salem Local Centre

10th Grade - Professional Development

20 Qs

Logical and Programming Questions

Logical and Programming Questions

Assessment

Quiz

Other

Professional Development

Practice Problem

Hard

Created by

Richa Sharma

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main() { int x; x=printf("RCCIIT"); printf("%d",x); return 0; }

RCCIIT

6

RCCIIT6

Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

{ int x=6,y=1; if (x&y) { printf("Yes"); } else { printf("No"); } return 0; }

Yes

No

0

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

console.log(1 + "2" + 3); console.log(1 + 2 + "3");

123 and 33

6 and 6

123 and 123

6 and 123

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

console.log(0.1 + 0.2 === 0.3);

True

False

syntax error

undefined

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

a = 1 def g(): print('Ans1: ', a) a = 2 print('Ans2: ', a) g()

Error

Ans1: 1 & Ans2: 2

Ans1: 2 & Ans2: 2

Ans1: 1 & Ans2: 1

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the time complexity of finding the maximum element in an unsorted array of size n?

O(1)

O(n)

O(log n)

O(n log n)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the advantage of a doubly linked list over a singly linked list?

Easier to delete a node

Requires less memory

Uses less number of pointers

No advantage

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?