wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

SET-3

Total questions: 25

Worksheet time: 19mins

Name
Class
Date
1.

What is the formula to calculate the standard deviation?

a)

Standard deviation = √(Σ(xi - μ)² / N)

b)

Standard deviation = √(Σ(xi - μ) / N)

c)

Standard deviation = Σ(xi - μ)² * N

d)

Standard deviation = Σ(xi - μ) / N

2.

What do the following declaration signify?

int (*ptr)[30];

a)

ptr is a pointer to an array of 30 integer pointers.

b)

ptr is a array of 30 integer function pointer.

c)

ptr is a array of 30 integer pointers.

d)

ptr is a array 30 pointers.

3.

Choose the correct meaning of proverb/idiom

To have an axe to grind

a)


A private end to serve

b)

To fail to arouse interest

c)

To have no result

d)

To work for both sides

4.

How many times the while loop will get executed if a short int is 2 byte wide?

#include<stdio.h>

int main(){

int j=4;

while(j <= 255){

printf(" %d\n", j);

j++;

}

return 0;

}

a)

Infinite times

b)

255 times

c)

256 times

d)

252 times

5.

Which of the following languages is primarily used for defining the structure and content of web pages?

a)

HTML

b)

CSS

c)

JAVASCRIPT

d)

PHP

6.

Predict the Ouput

#include <stdio.h>

int main(){

float c = 40.235679;

printf ("Temperature is %.5f",c );

return 0;

}

a)

error

b)

40

c)

40.23568

d)

40.235679

7.

What is the purpose of the do-while loop in C?

a)

It iterates as long as a condition is true.

b)

It ensures the loop body is executed at least once.

c)

It is used for infinite loops.

d)

It repeats a block of code a specific number of times.

8.

which of the following is not a string function?

a)

strcpy()

b)

strcat()

c)

strcopy()

d)

strcmp()

9.

Parts : Strap :: Wolf :

a)

Flow

b)

Animal

c)

Wood

d)

Fox

10.

Operator "&&" is a________?

a)

arithmetic operator

b)

assignment operator

c)

logical operator

d)

bitwise operator

11.

Which of the following correctly defines a multi-dimensional array in C?

a)

int arr[3][2] = { {1, 2}, {3, 4}, {5, 6} };

b)

int arr[3, 3] = {1, 2, 3, 4, 5, 6};

c)

int arr[][3] = {1, 2, 3, 4, 5, 6};

d)

int arr[3,2] = { {1, 2}, {3, 4}, {5, 6} };

12.

Look at this series: 2, 1, (1/2), (1/4), … What number should come next?

a)

1/3

b)

1/8

c)

2/8

d)

1/16

13.

Which word does NOT belong with the others?

a)

Tulip

b)

Rose

c)

Bud

d)

Daisy

14.

choose the word which best expresses the meaning of the given word.

MENDACIOUS

a)

Full of Confidence

b)


False

c)

Encouraging

d)

Provoactive

15.

Choose the correct meaning of proverb/idiom
To drive home

a)

To find one's roots

b)

To return to place of rest

c)

Back to original position

d)

To emphasise

16.

Choose the alternative which best expresses the meaning of idiom/phrase.

Although he has failed in the written examination, he is using backstairs influence to get the job.

a)


Political influence

b)

Backing influence

c)

Deserving and proper influence

d)

Secret and unfair influence

17.

B2CD, _____, BCD4, B5CD, BC6D

a)

BC3D

b)

B2C2D

c)

BCD7

d)

B2C3D

18.

Point out the wrong statement

a)

DataFrame is general 2D labeled, size-mutable tabular structure with potentially heterogeneously-typed columns

b)

Panel is generally 2D labeled, also size-mutable array

c)

Series is 1D labeled homogeneously-typed array

d)

None of the mentioned

19.

Panel is a container for Series, and DataFrame is a container for dataFrame objects.

a)

True

b)

False

20.

Guess the correct output

import numpy as np

arr = np.array([ [ [1, 2], [3, 4] ], [ [5, 6], [7, 8] ] ])

print(arr[-1, 0, 0])

a)

5

b)

7

c)

2

d)

1

21.

Arrange the words given below in a meaningful sequence.

1. Word2. Paragraph3. Sentence4. Letters5. Phrase

a)


4, 1, 5, 2, 3

b)

4, 1, 3, 5, 2

c)

4, 1, 5, 3, 2

d)

4, 2, 5, 1, 3

22.

Choose the alternative which best expresses the meaning of idiom/phrase.

Sobhraj could be easily arrested because the police were tipped off in a advance.

a)

Toppled over

b)

Bribed

c)

Given advance information

d)

Threatened

23.

A person pretending to be somebody he is not

a)


Magician

b)

Rogue

c)

Liar

d)

Imposter

24.

What box is next in the sequence?

a)

A

b)

B

c)

C

d)

D

25.

Out of the given answer figures, which is the correct one to replace the question mark?

a)

A

b)

C

c)

B

d)

D