NEW
Font size
WorksheetsAptitude Competition(FY)
Total questions: 25
Worksheet time: 25mins
How do you declare an array of integers in C?
int array[10];
int arr[10];
int[10] arr;
array int arr[10];
What is the return type of a function that does not return a value?
void
int
float
string
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); }
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)
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)
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);
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
Look at this series: 12, 11, 13, 12, 14, 13, … What number should come next?
10
16
13
15
Safe : Secure :: Protect :
Lock
Guard
Sure
Conserve
Statements: In a one day cricket match, the total runs made by a team were 200. Out of these 160 runs were made by spinners.
Conclusions:
I)80% of the team consists of spinners.
II)The opening batsmen were spinners.
Only conclusion I follows
Only conclusion II follows
Either I or II follows
Neither I nor II follows
Both I and II follow
Which word does NOT belong with the others?
noun
preposition
punctuation
adverb
Who among the following considered as the 'father of artificial intelligence'?
Charles Babbage
Lee De Forest
John McCarthy
JP Eckert
Which company partnered with NCERT to launch YouTube channels in 29 Indian languages?
Microsoft
Apple
Amazon
What term was selected as the Oxford Word of the Year 2024?
Brain Rot
Digital Fatigue
Mind Drain
Online Overload
In which state will a new Tribal University be established in the Nashik district?
Gujarat
Madhya Pradesh
Maharashtra
Odisha
Which Indian state’s postal department is introducing Artificial Intelligence in its services?
Maharashtra
Karnataka
Bihar
Tamil Nadu
Which of the following language does the computer understand?
Computer understands only C Language
Computer understands only Assembly Language
Computer understands only Binary Language
Computer understands only BASIC
Which of the following is the correct extension of the Python file?
.python
.pl
.py
.p
What is the smallest header in HTML by default?
H1
H2
H5
H6
What does HTML stand for?
Home Tool Markup Language
Hyper Text Markup Language
Hyperlinks and Text Markup Language
What is binary equivalent to decimal number 1011?
1011
111011
111111001
1111110011
Identify the full form of HTTP?
HyperText Transfer Protocol
HyperText Transfer Package
Hyper Transfer Text Package
Hyper Transfer Text Practice
What does CSS stand for?
Computer Style Sheets
Creative Style System
Colorful Style Sheets
Cascading Style Sheets
Which of the following is a valid way to declare a string in Python?
string s = "Hello";
s = 'Hello'
str s = "Hello";
string s = 'Hello';
Which of the following is a valid way to comment in C Programming?
// This is a comment
/* This is a comment */
** This is a comment **
Both I and II
