Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

SJIT ECE 2024 BATCH EMBEDUR ROUND-1 PRACTICE TEST

Total questions: 35

Worksheet time: 18mins

Name
Class
Date
1.

Which is not a valid keyword in C language?

a)

for

b)

while

c)

do-while

d)

switch

2.

A C-style comment, simply surround the text with ___.

a)

/* and */

b)

// and //

c)

//

d)

/** and **/

3.

How many byte(s) does a char type take in C?

a)

1

b)

2

c)

3

d)

4

4.

Which is correct with respect to the size of the data types in C?

a)

char > int > float

b)

char < int < float

c)

int < char < float

d)

int < chat > float

5.

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;

}

a)

2

b)

2.5

c)

ERROR

d)

WARNING

6.

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;

}

a)

7

b)

7.0

c)

7.000000

d)

ERROR

7.

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;

}

a)

1

b)

7

c)

0

d)

8

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;

}

a)

20

b)

24

c)

ERROR

d)

GARBAGE

9.

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;

}

a)

value 1 is not greater

b)

value 1 is greater

c)

Error

d)

None of these

10.

What will be the result of the following condition?

(! (25 > 25))

a)

TRUE

b)

FALSE

c)

ERROR

d)

NONE OF THE THESE

11.

Which of the following statement is related to Accumulator?

a)

It is a storage element

b)

It performs complementing operations

c)

It performs decimal operations

d)

All the above

12.

Which of the following sequence that a microprocessor follows?

a)

Fetch, decode, execute

b)

Fetch, execute, decode

c)

Decode, fetch, execute

d)

Execute, decode, fetch

13.

When a microprocessor reaches a stop instruction it responds back in _______ format to the ports output.

a)

Decimal

b)

Binary

c)

0 and 1

d)

both a and c

14.

BCD number is represented in which of the following.

a)

4 bits

b)

1 bits

c)

0 and 1

d)

None of these

15.

What is the function of a compiler?

a)

It translates high-level language into machine code

b)

It translates high-level language into assembly-level language

c)

Both a and b

d)

It translates low-level language into a high-level language

16.

8085 microprocessor has _____ bits of address bus?

a)

8 bits

b)

16 bits

c)

20 bits

d)

24 bits

17.

Which of the following are the register pair in the 8085 microprocessor?

a)

BD

b)

DE

c)

HL

d)

ALL THE ABOVE

18.

Which of the following are control signals of the 8085 processor?

a)

READY, RD, WR, ALE

b)

S0, S1, IO/M

c)

HOLD, HLDA

d)

RESET

19.

Which of the following are interrupt signals in the 8085 processor?

a)

INTR

b)

RST 7.5

c)

RST 6.6

d)

ALL THE ABOVE

20.

8086 microprocessor supports _____ bits of ALU.

a)

32 BITS

b)

16 BITS

c)

8 BITS

d)

20 BITS

21.

A running man crosses a bridge of length 500 meters in 4 minutes. At what speed he is running?

a)

8.5 km/s

b)

7.5 km/s

c)

6.5 km/s

d)

9.5 km/s

22.

A shopkeeper sold an article for Rs. 2500. If the cost price of the article is 2000, find the profit percent.

a)

23%

b)

25%

c)

27%

d)

29%

23.

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?

a)

Rs. 12560

b)

Rs. 13500

c)

Rs. 12960

d)

Rs. 14500

24.

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?

a)

72 km/hr

b)

95 km/hr

c)

85 km/hr

d)

82 km/hr

25.

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?

a)

40/9 DAYS

b)

40/10 DAYS

c)

9/40 DAYS

d)

10/40 DAYS

26.

A 60 liter mixture of milk and water contains 10% water. How much water must be added to make water 20% in the mixture?

a)

8 liters

b)

7.5 liters

c)

7 liters

d)

6 liters

27.

A: B: C is in the ratio of 3: 2: 5. How much money will C get out of Rs 1260?

a)

630

b)

250

c)

520

d)

440

28.

In a kilometer race, A beats B by 40 meters or by 5 seconds. What is the time taken by A over the course?

a)

1 minute 57 seconds.

b)

1 minutes.

c)

2 minutes.

d)

3 minutes.

29.

What is the probability of getting an even number when a dice is rolled?

a)

1/2

b)

1/4

c)

1/6

d)

1/8

30.

What is the market price of a 9% share when a person gets 180 by investing Rs. 4000?

a)

100

b)

200

c)

300

d)

400

31.

UDP operates on which layer of the OSI model?

a)

Network layer

b)

Transport layer

c)

Presentation layer

d)

Application layer

32.

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)

A and B

b)

A and C

c)

A, C, and D

d)

A, B, C, and D

33.

Which of the following are correct IEEE 802.11 network PHY standards?

A. 11a

B. 11b

C. 11p

D. 11y

a)

A

b)

A & B

c)

A & C

d)

A,B,C & D

34.

Which of the following are correct VPN protocols?

A. PPTP

B. L2TP

C.SSTP

D. OpenVPN

a)

A & D

b)

A,B,C & D

c)

A & C

d)

B & C

35.

There are the following options that are given below, which of them are internetworking devices?

a)

ROUTER

b)

GATEWAY

c)

BOTH OF THE ABOVE

d)

NONE OF THE ABOVE