
Glitch Hunting Round-2

Quiz
•
Computers
•
University
•
Hard
Smart venkey
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what will be the output of the following pseudocode for p=3 and q=7
Integer function funn(Integer p, Integer q)
Integer r
set r=p
p=q
r=p
q=r
p=r
return p+q
End function funn ()
16
28
14
18
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the functionality of the following piece of code? Select the most appropriate
public void function(int data)
{
int flag = 0;
if( head != null)
{
Node temp = head.getNext();
while((temp != head) && (!(temp.getItem() == data)))
{
temp = temp.getNext();
flag = 1;
break;
}
}
if(flag)
System.out.println("success");
else
System.out.println("fail");
}
Print success if a particular element is not found
Print fail if a particular element is not found
Print success if a particular element is equal to 1
Print fail if the list is empty
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given pointer to a node X in a singly linked list. Only one pointer is given, pointer to head node is not given, can we delete the node X from given linked list?
Possible if X is not last node
Possible if size of linked list is even
Possible if size of linked list is odd
Possible if X is not first node
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
------is a parameter passing method that waits
to evaluate the parameter value until it is used ?
pass by value
pass by name
pass by reference
pass by pointer
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The number of possible binary trees with 3 node is
12
13
5
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the answer for snipet code?
#include<stdio.h>
int main(){
int x=10;
if (x=1){
printf("Hello");
}
else{
printf("World");
}
Hello
World
HelloWorld
compilation error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the below
pseudocode?
set value=''*15;
print value
150
15
480
320
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Data Structure

Quiz
•
University
14 questions
Binary Tree

Quiz
•
University
12 questions
Node.js Database Connection

Quiz
•
University
11 questions
Trees

Quiz
•
University
11 questions
Chapter 8-1 (Docker)

Quiz
•
University
15 questions
ARRAYLIST - JAVA

Quiz
•
University
10 questions
Lecture 02

Quiz
•
University
15 questions
DS MODULE 3 LINKED LIST

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University