
TARANG 2023 Technical Quiz
Authored by Seshadri Chinta
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
53 questions
EEP
Quiz
•
University
50 questions
JavaScript-ITELECTIVE
Quiz
•
University
52 questions
computer memory and storage
Quiz
•
University
50 questions
IUTCS Freshers
Quiz
•
University
50 questions
Computer System Servicing
Quiz
•
University
45 questions
21st Century Success Skills Exam
Quiz
•
8th Grade - University
50 questions
Quiz
Quiz
•
University
50 questions
MS Excel Quiz
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University