
TARANG 2023 Technical Quiz

Quiz
•
Computers
•
University
•
Hard
Seshadri Chinta
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
50 questions
SAINS KOMPUTER TINGKATAN 4 BAB 1

Quiz
•
3rd Grade - University
50 questions
I CS Quiz 25/9 final

Quiz
•
12th Grade - University
50 questions
PRF192 - FE2

Quiz
•
University
50 questions
C Programming Basics

Quiz
•
University
50 questions
C Programming Basics

Quiz
•
University
45 questions
IP MIDTERM

Quiz
•
University
49 questions
Test 2

Quiz
•
University
49 questions
Quiz on C Operators

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University