Turing's Test: CodeClash1.0

Quiz
•
Computers
•
•
Hard
Sumithra pm
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the output of the following code?
25
11
Error
Garbage
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not defined on floating point on C?
&&
>
%
>=
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1.What is the result of the expression ((7 > 5) && (10 < 12)) || (15 == 20)?
not known
5
true
false
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
5.What will be the value of result?
int x = 5, y = 10;
int result = (x > y) ? x : y;
5
10
true
false
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following code snippet:
char str = "Hello, World!";
printf("%c\n", (str + 7));
What is the output?
o
,
W
Hello, W
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following code ,what will be the output?
main(){
Printf("%d%d%d",sizeof(3.14f),sizeof(3.14),sizof(3.14l));
}
4 8 12
4 4 4
4 2 4
2 2 4
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#define cube(x)(x*x*x)
main() {
int a,b=3;
a=cube(b++);
printf("%d%d",a,b); }
What will be the value of a,b?
60 6
60 4
60 3
3 4
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
GNIDOC ROUND 1

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
20 questions
C - Structures

Quiz
•
University
20 questions
Array

Quiz
•
10th - 12th Grade
20 questions
Pointers

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
20 questions
Test Final

Quiz
•
University
20 questions
Quiz

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade