
TARANG 2023 Technical Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Seshadri Chinta
Used 1+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of following code snippet?
#include<stdio.h>
int main()
{
char buf[100]="hello";
int num=2083938;
sprintf(buf,"num=%d",num);
return 0;
}
hello
num=2083938
Compilation error
None
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of following code snippet?
#include<stdio.h>
int main()
{
char buf[100]="hello";
sprintf(buf,"Who are you?",num);
printf(“%s”,buf);
return 0;
}
hello
helloWhoareyou?
Who are you?
Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this C code?
void main()
{
char *p = calloc(100, 1);
p = "welcome";
printf("%s\n", p);
}
Segment Fault
Garbage
Error
welcome
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Guess the output of following code snippet?
#include<stdio.h>
int main()
{
int a,b,c;
a=12;
b=++a+a++;
c=b--+a++;
printf("a=%d b=%d c=%d",a,b,c);
return 0;
}
a=14 b=26 c=40
a=15 b=23 c=38
a=15 b=26 c=41
a=14 b=25 c=39
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What should be filled in #line to get output: a=25 in the following code snippet?
#include<stdio.h>
int main()
{
int a;
a=12;
#line
printf("a=%d”,a);
return 0;
}
a+++a;
a=++a+a;
a=a+++a++;
a=a+++a;
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?
Standard input
Standard output
Standard error
All of the mentioned
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does AWT stands for?
All Window Tools
All Writing Tools
Abstract Window Toolkit
Abstract Writing Toolkit
Create a free account and access millions of resources
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
45 questions
Fundamentos-Programacion
Quiz
•
University
45 questions
SAS INFORMATIKA IX SEMESTER 1
Quiz
•
9th Grade - University
50 questions
InfoMgt Long Quiz 1
Quiz
•
University
50 questions
Midterm Exam for AST 122
Quiz
•
University
55 questions
Basis Data
Quiz
•
University
45 questions
Long Quiz - HCI
Quiz
•
University
50 questions
KISI-KISI PAS KELAS 8 SEM GANJIL 2024-2025
Quiz
•
8th Grade - University
50 questions
SKILL QUIZ
Quiz
•
University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
