Aptitude Competition(FY)
Quiz
•
Computers
•
University
•
Hard
Shital Ugale
Used 1+ times
FREE Resource
Enhance your content
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you declare an array of integers in C?
int array[10];
int arr[10];
int[10] arr;
array int arr[10];
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the return type of a function that does not return a value?
void
int
float
string
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you implement a `for` loop in C?
for(int i = 0; i < 10; i++) { print(i); }
for(int i = 0; i < 10; i++) { printf("%d\n", i); }
for(i = 0; i < 10; i++) printf('%d\n', i);
for(int i = 0; i < 10; i++) { printf(i); }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What control structure would you use to execute a block of code multiple times?
Loop (for, while, do-while)
Exception handling (try-catch)
Function call
Conditional statement (if, switch)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct usage of conditional operators used in C?
>b ? c=30 : c=40;
a>b ? c=30;
max = (a>b) ? a:b
return (a>b)?(a:b)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To print out a and b given below, which of the following printf() statement will you use?
#include<stdio.h>
float a=3.14;
double b=3.14;
printf("%f %lf", a, b);
printf("%Lf %f", a, b);
printf("%Lf %Lf", a, b);
printf("%f %Lf", a, b);
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
All the trees in the park are flowering trees.
Some of the trees in the park are dogwoods.
All dogwoods in the park are flowering trees.
If the first two statements are true, the third statement is
true
false
uncertain
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Mid_Q1
Quiz
•
University
20 questions
Google SketchUp Tool
Quiz
•
KG - University
20 questions
POST TEST WEB STATIC
Quiz
•
University - Professi...
20 questions
Scratch 1
Quiz
•
10th Grade - University
20 questions
Spreadsheet Fundamentals - Part I
Quiz
•
University
20 questions
CORLANG Week6-7
Quiz
•
10th Grade - University
20 questions
Endterm Exercise #5
Quiz
•
University
20 questions
IAS 101 - Week 11 and 12 - Cryptography
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University