NEW
Font size
WorksheetsSET-3
Total questions: 25
Worksheet time: 19mins
What is the formula to calculate the standard deviation?
Standard deviation = √(Σ(xi - μ)² / N)
Standard deviation = √(Σ(xi - μ) / N)
Standard deviation = Σ(xi - μ)² * N
Standard deviation = Σ(xi - μ) / N
What do the following declaration signify?
int (*ptr)[30];
ptr is a pointer to an array of 30 integer pointers.
ptr is a array of 30 integer function pointer.
ptr is a array of 30 integer pointers.
ptr is a array 30 pointers.
Choose the correct meaning of proverb/idiom
To have an axe to grind
A private end to serve
To fail to arouse interest
To have no result
To work for both sides
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;
}
Infinite times
255 times
256 times
252 times
Which of the following languages is primarily used for defining the structure and content of web pages?
HTML
CSS
JAVASCRIPT
PHP
Predict the Ouput
#include <stdio.h>
int main(){
float c = 40.235679;
printf ("Temperature is %.5f",c );
return 0;
}
error
40
40.23568
40.235679
What is the purpose of the do-while loop in C?
It iterates as long as a condition is true.
It ensures the loop body is executed at least once.
It is used for infinite loops.
It repeats a block of code a specific number of times.
which of the following is not a string function?
strcpy()
strcat()
strcopy()
strcmp()
Parts : Strap :: Wolf :
Flow
Animal
Wood
Fox
Operator "&&" is a________?
arithmetic operator
assignment operator
logical operator
bitwise operator
Which of the following correctly defines a multi-dimensional array in C?
int arr[3][2] = { {1, 2}, {3, 4}, {5, 6} };
int arr[3, 3] = {1, 2, 3, 4, 5, 6};
int arr[][3] = {1, 2, 3, 4, 5, 6};
int arr[3,2] = { {1, 2}, {3, 4}, {5, 6} };
Look at this series: 2, 1, (1/2), (1/4), … What number should come next?
1/3
1/8
2/8
1/16
Which word does NOT belong with the others?
Tulip
Rose
Bud
Daisy
choose the word which best expresses the meaning of the given word.
MENDACIOUS
Full of Confidence
False
Encouraging
Provoactive
Choose the correct meaning of proverb/idiom
To drive home
To find one's roots
To return to place of rest
Back to original position
To emphasise
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.
Political influence
Backing influence
Deserving and proper influence
Secret and unfair influence
B2CD, _____, BCD4, B5CD, BC6D
BC3D
B2C2D
BCD7
B2C3D
Point out the wrong statement
DataFrame is general 2D labeled, size-mutable tabular structure with potentially heterogeneously-typed columns
Panel is generally 2D labeled, also size-mutable array
Series is 1D labeled homogeneously-typed array
None of the mentioned
Panel is a container for Series, and DataFrame is a container for dataFrame objects.
True
False
Guess the correct output
import numpy as np
arr = np.array([ [ [1, 2], [3, 4] ], [ [5, 6], [7, 8] ] ])
print(arr[-1, 0, 0])
5
7
2
1
Arrange the words given below in a meaningful sequence.
1. Word2. Paragraph3. Sentence4. Letters5. Phrase
4, 1, 5, 2, 3
4, 1, 3, 5, 2
4, 1, 5, 3, 2
4, 2, 5, 1, 3
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.
Toppled over
Bribed
Given advance information
Threatened
A person pretending to be somebody he is not
Magician
Rogue
Liar
Imposter
What box is next in the sequence?
A
B
C
D
Out of the given answer figures, which is the correct one to replace the question mark?
A
C
B
D
