wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Aptitude Competition(FY)

Total questions: 25

Worksheet time: 25mins

Name
Class
Date
1.

How do you declare an array of integers in C?

a)

int array[10];

b)

int arr[10];

c)

int[10] arr;

d)

array int arr[10];

2.

What is the return type of a function that does not return a value?

a)

void

b)

int

c)

float

d)

string

3.

How do you implement a `for` loop in C?

a)

for(int i = 0; i < 10; i++) { print(i); }

b)

for(int i = 0; i < 10; i++) { printf("%d\n", i); }

c)

for(i = 0; i < 10; i++) printf('%d\n', i);

d)

for(int i = 0; i < 10; i++) { printf(i); }

4.

What control structure would you use to execute a block of code multiple times?

a)

Loop (for, while, do-while)

b)

Exception handling (try-catch)

c)

Function call

d)

Conditional statement (if, switch)

5.

Which of the following is the correct usage of conditional operators used in C?

a)

>b ? c=30 : c=40;

b)

a>b ? c=30;

c)

max = (a>b) ? a:b

d)

return (a>b)?(a:b)

6.

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;

a)

printf("%f %lf", a, b);

b)

printf("%Lf %f", a, b);

c)

printf("%Lf %Lf", a, b);

d)

printf("%f %Lf", a, b);

7.

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

a)

true

b)

false

c)

uncertain

8.

Look at this series: 12, 11, 13, 12, 14, 13, … What number should come next?

a)

10

b)

16

c)

13

d)

15

9.

Safe : Secure :: Protect :

a)

Lock

b)

Guard

c)

Sure

d)

Conserve

10.

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:

  1. I)80% of the team consists of spinners.

  2. II)The opening batsmen were spinners.

a)

Only conclusion I follows

b)

Only conclusion II follows

c)

Either I or II follows

d)

Neither I nor II follows

e)

Both I and II follow

11.

Which word does NOT belong with the others?

a)

noun

b)

preposition

c)

punctuation

d)

adverb

12.

Who among the following considered as the 'father of artificial intelligence'?

a)

Charles Babbage

b)

Lee De Forest

c)

John McCarthy

d)

JP Eckert

13.

Which company partnered with NCERT to launch YouTube channels in 29 Indian languages?

a)

Microsoft

b)

Google

c)

Apple

d)

Amazon

14.

What term was selected as the Oxford Word of the Year 2024?

a)

Brain Rot

b)

Digital Fatigue

c)

Mind Drain

d)

Online Overload

15.

In which state will a new Tribal University be established in the Nashik district?

a)

Gujarat

b)

Madhya Pradesh

c)

Maharashtra

d)

Odisha

16.

Which Indian state’s postal department is introducing Artificial Intelligence in its services?

a)

Maharashtra

b)

Karnataka

c)

Bihar

d)

Tamil Nadu

17.

Which of the following language does the computer understand?

a)

Computer understands only C Language

b)

Computer understands only Assembly Language

c)

Computer understands only Binary Language

d)

Computer understands only BASIC

18.

Which of the following is the correct extension of the Python file?

a)

.python

b)

.pl

c)

.py

d)

.p

19.

What is the smallest header in HTML by default?

a)

H1

b)

H2

c)

H5

d)

H6

20.

What does HTML stand for?

a)

Home Tool Markup Language

b)

Hyper Text Markup Language

c)

Hyperlinks and Text Markup Language

21.

What is binary equivalent to decimal number 1011?

a)

1011

b)

111011

c)

111111001

d)

1111110011

22.

Identify the full form of HTTP?

a)

HyperText Transfer Protocol

b)

HyperText Transfer Package

c)

Hyper Transfer Text Package

d)

Hyper Transfer Text Practice

23.

What does CSS stand for?

a)

Computer Style Sheets

b)

Creative Style System

c)

Colorful Style Sheets

d)

Cascading Style Sheets

24.

Which of the following is a valid way to declare a string in Python?

a)

string s = "Hello";

b)

s = 'Hello'

c)

str s = "Hello";

d)

string s = 'Hello';

25.

Which of the following is a valid way to comment in C Programming?

a)

// This is a comment

b)

/* This is a comment */

c)

** This is a comment **

d)

Both I and II