
Logical and Programming Questions
Authored by Richa Sharma
Other
Professional Development
Used 1+ times

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
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Aps 101
Quiz
•
Professional Development
20 questions
Mis uudist? nr 5
Quiz
•
5th Grade - Professio...
15 questions
About me
Quiz
•
4th Grade - Professio...
20 questions
Chery Sales Process (CSP)
Quiz
•
Professional Development
15 questions
Anime Fighters Simulator Update 12
Quiz
•
1st Grade - Professio...
16 questions
Kick-Off
Quiz
•
Professional Development
15 questions
Summer Getaway
Quiz
•
12th Grade - Professi...
15 questions
¿cuanto sabes de among us?
Quiz
•
Professional Development
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
44 questions
Would you rather...
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
14 questions
Valentine's Day Trivia!
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development