NEW
Font size
WorksheetsSJIT ECE PLACEMENT PRACTICE TEST-1 @ 8/7/23
Total questions: 25
Worksheet time: 25mins
The captain of a cricket team of 11members is 26
years old and the wicket keeper is 3years older. If the ages of these two are excluded, the average age of the remaining players is one year less than the average age of the whole team. Find out the average age of the team.
20 years
21 years
22 years
23 years
Mr.Danny spends Rs.10000 monthly on average for the first four months and Rs.12000 monthly for the next eight months and saves Rs.26000 a year. His average monthly income is
Rs. 13500
Rs. 12500
Rs. 14500
Rs.1400
In seven given numbers, the average of first four numbers is 4 and that of the last four numbers is also 4. If the average of these seven numbers is 3 , then the fourth number is
9
8
10
11
The average weight of 8 men is increased by 1.5kg when one of the men who weighs 65 kg is replaced by a new man. The weight of the new man is
76 kg
77 kg
76.5 kg
76.7kg
Three year ago the average age of a family of five members was 27 years. The present average age is also 27 year after the inclusion of a child into the family. Find the age of the child.
16 yr
12 yr
14 yr
18 yr
89% of ? + 365 = 1075.22
798
897
898
752
There are 1240 employees in an organisation. Out of which, 25% are promoted. How many such employees are there who got promotion?
378
310
388
368
A man losses 20% of his money. After spending 25% of the remainder, he has Rs.480 left. What is the amount of money he originally had?
600
800
720
620
The price of sugar is increased by 25%. If a family wants to keep its expenses on sugar unaltered, then the family will have to reduce the consumption of sugar by
20%
21%
25%
26%
Income of Suman is first increased by 7% and then it is decreased by 7%. What is the change in her income?
0.49% (increase)
0.39% (decrease)
0.39% (increase)
0.49% (decrease)
A is B's sister. C is B's mother. D is C's father. E is D's mother. Then, how is A related to D?
Grandfather
Grandmother
Daughter
Granddaughter
In a family, there are six members A, B, C, D, E and F.
A and B are a married couple, A being the male member. D is the only son of C, who is the brother of A. E is the sister of D. B is the daughter-in-law of F, whose husband has died. How is E related to C ?
Sister
Daughter
Cousin
Mother
Pointing to a person, a man said to a woman, "His mother is the only daughter of your father." How was the woman related to the person ?
Aunt
Mother
Wife
Daughter
P is the brother of Q and R. S is R's mother. T is P's father. Which of the following statements cannot be definitely true ?
T is Q's father
S is P's mother
P is S's son
Q is T's son
Brothers and Sisters I have None ::
Looking at a portrait of a man, Harsh said, "His mother is the wife of my father's son. Brothers and sisters I have none." At whose portrait was Harsh looking?
His son
His cousin
His uncle
His nephew
What will be output of following program ?
#include
int main()
{
int a = 10;
void *p = &a;
int *ptr = p;
printf("%u",*ptr);
return 0;
}
10
Address
2
Compilation error
In C a pointer variable to an integer can be created by the decalaration
int p*;
int *p;
int +p;
int $p;
What will be the output of the following C code?
void main() {
int a[] = {1,2,3,4,5}, *p;
p = a;
++*p;
printf("%d ", *p);
p += 2;
printf("%d ", *p);
}
23
24
25
26
What is the output of the following C code?
char *ptr;
char mystring[] = "abcdefg";
ptr = myString;
ptr += 5;
fg
efg
defg
cdefg
Will this program compile?
int main() {
char str[5] = "LetsFind";
return 0;
}
True
False
What will be the output of the program.
void main() {
printf("%d %d", sizeof(int *), sizeof(int **));
}
2, 0
0, 2
2, 2
2, 4
What is the output of this C code?
int main() {
int i = 10;
void *p = &i;
printf("%d\n" (int)*p);
return 0;
}
Compile time error
Segmentation fault/runtime crash
10
Undefined behaviour
What will be the output of the following C code?
void main() {
char *p;
p = "Hello";
printf("%c\n", *&*p);
}
Hello
H
Some address will be printed
None of these
How can you write a[i][j][k][l] in equivalent pointer expression?
(((***(a+i)+j)+k)+l)
((**(*(a+i)+j)+k)+l)
(*(*(*(a+i)+j)+k)+l)
*(*(*(*(a+i)+j)+k)+l)
The reason for using pointers in a C program is
Pointers allow different functions to share and modify their local variables
To pass large structures so that complete copy of the structure can be avoided
Pointers enable complex “linked" data structures like linked lists and binary trees
All of the above
