
Logical and Programming Questions

Quiz
•
Other
•
Professional Development
•
Hard
Richa Sharma
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Estructuras de Control en Java

Quiz
•
Professional Development
15 questions
ALIMENTATION NUTRITION PETITE ENFANCE

Quiz
•
Professional Development
15 questions
SEMINAR ILMIAH 2023

Quiz
•
Professional Development
25 questions
PSUEDOCODE 2 CAPGEMINI

Quiz
•
Professional Development
15 questions
Quiz sur les tableaux en C

Quiz
•
Professional Development
15 questions
Programming and Data Structures Quiz

Quiz
•
Professional Development
20 questions
Quiz-1

Quiz
•
University - Professi...
20 questions
CSS Unit 1

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade