WorksheetsSJIT ECE 2024 BATCH EMBEDUR ROUND-1 PRACTICE TEST
Total questions: 35
Worksheet time: 18mins
Which is not a valid keyword in C language?
for
while
do-while
switch
A C-style comment, simply surround the text with ___.
/* and */
// and //
//
/** and **/
How many byte(s) does a char type take in C?
1
2
3
4
Which is correct with respect to the size of the data types in C?
char > int > float
char < int < float
int < char < float
int < chat > float
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int x = 20;
x %= 3;
printf("%d",x);
return 0;
}
2
2.5
ERROR
WARNING
What will be the output of the following C code?
#include <stdio.h>
int main()
{
float x = 21.0;
x %= 3.0;
printf("%f",x);
return 0;
}
7
7.0
7.000000
ERROR
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int a=0;
a=5||2|1;
printf("%d",a);
return 0;
}
1
7
0
8
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int a,b,c;
a=0x10; b=010;
c=a+b;
printf("%d",c);
return 0;
}
20
24
ERROR
GARBAGE
What will be the output of the following C code?
#include <stdio.h>
int main()
{
printf((43 > 43) ? "value 1 is greater!" : "value 1 is not greater!");
return 0;
}
value 1 is not greater
value 1 is greater
Error
None of these
What will be the result of the following condition?
(! (25 > 25))
TRUE
FALSE
ERROR
NONE OF THE THESE
Which of the following statement is related to Accumulator?
It is a storage element
It performs complementing operations
It performs decimal operations
All the above
Which of the following sequence that a microprocessor follows?
Fetch, decode, execute
Fetch, execute, decode
Decode, fetch, execute
Execute, decode, fetch
When a microprocessor reaches a stop instruction it responds back in _______ format to the ports output.
Decimal
Binary
0 and 1
both a and c
BCD number is represented in which of the following.
4 bits
1 bits
0 and 1
None of these
What is the function of a compiler?
It translates high-level language into machine code
It translates high-level language into assembly-level language
Both a and b
It translates low-level language into a high-level language
8085 microprocessor has _____ bits of address bus?
8 bits
16 bits
20 bits
24 bits
Which of the following are the register pair in the 8085 microprocessor?
BD
DE
HL
ALL THE ABOVE
Which of the following are control signals of the 8085 processor?
READY, RD, WR, ALE
S0, S1, IO/M
HOLD, HLDA
RESET
Which of the following are interrupt signals in the 8085 processor?
INTR
RST 7.5
RST 6.6
ALL THE ABOVE
8086 microprocessor supports _____ bits of ALU.
32 BITS
16 BITS
8 BITS
20 BITS
A running man crosses a bridge of length 500 meters in 4 minutes. At what speed he is running?
8.5 km/s
7.5 km/s
6.5 km/s
9.5 km/s
A shopkeeper sold an article for Rs. 2500. If the cost price of the article is 2000, find the profit percent.
23%
25%
27%
29%
If Suresh borrows Rs. 36000 from Mahesh at rate of interest 6% S.I, at the end of four years how much interest Suresh has to pay along with principal amount?
Rs. 12560
Rs. 13500
Rs. 12960
Rs. 14500
A train of length 200 meters crosses a man running at 10 km/hr in the same direction in 10 seconds. What is the speed of the train?
72 km/hr
95 km/hr
85 km/hr
82 km/hr
Worker A completes a task in 8 days and worker B completes the same task in 10 days. If both A and B work together, in how many days they will complete the task?
40/9 DAYS
40/10 DAYS
9/40 DAYS
10/40 DAYS
A 60 liter mixture of milk and water contains 10% water. How much water must be added to make water 20% in the mixture?
8 liters
7.5 liters
7 liters
6 liters
A: B: C is in the ratio of 3: 2: 5. How much money will C get out of Rs 1260?
630
250
520
440
In a kilometer race, A beats B by 40 meters or by 5 seconds. What is the time taken by A over the course?
1 minute 57 seconds.
1 minutes.
2 minutes.
3 minutes.
What is the probability of getting an even number when a dice is rolled?
1/2
1/4
1/6
1/8
What is the market price of a 9% share when a person gets 180 by investing Rs. 4000?
100
200
300
400
UDP operates on which layer of the OSI model?
Network layer
Transport layer
Presentation layer
Application layer
There are the following statements that are given below, which of them are correct about WiFi?
A.WiFi is used to create a wireless network that provides broadband coverage in the local area.
B. WiFi stands for Wireless Fiction.
C. It is based on the IEEE 802.11 standard.
D. We can create a wireless network in the limit area using WiFi.
A and B
A and C
A, C, and D
A, B, C, and D
Which of the following are correct IEEE 802.11 network PHY standards?
A. 11a
B. 11b
C. 11p
D. 11y
A
A & B
A & C
A,B,C & D
Which of the following are correct VPN protocols?
A. PPTP
B. L2TP
C.SSTP
D. OpenVPN
A & D
A,B,C & D
A & C
B & C
There are the following options that are given below, which of them are internetworking devices?
ROUTER
GATEWAY
BOTH OF THE ABOVE
NONE OF THE ABOVE
