Sunteți pe pagina 1din 10

S.

no Comprehension

9
10

11

12

13

14

15

16

17

18
Question Text Option a

Change in output of sensor with change in input is ____________ Threshold

How many interrupts are there in 8051 micro controller? 3

The correspondence between main memory blocks and those in the cache is given Hash function
by

SPI device communicates in _________ Simplex

What is CISC? Computing instruction set


complex

Name a volatile memory. RAM

CAN is based on Message-based protocol

I2c will address large number of slave devices 1

What will be the output of the following C code? a=1, b=1

#include <stdio.h>
int main()
{
int a = 1, b = 1, c;
c = a++ + b;
printf("%d, %d", a, b);
return 0;
}
What will be the output of the following C code? 123450

#include <stdio.h>
void main()
{
int a[2][3] = {1, 2, 3, 4, 5};
Whatint will
i = 0,bej =the
0; output of the following C code? p is 4
for (i = 0; i< 2; i++)
for (j = 0;<stdio.h>
#include j < 3; j++)
intprintf("%d",
main() a[i][j]);
{}
constant p;
Whichp =of4;the following cannot be a structure member? Another Structure
printf("p is %d", p);
return 0;

This program will allocate the memory of _____ bytes for pointer “ptr”(for 32-bit 2
processor).

#include<stdio.h>
#include<stdlib.h>
int main()
{ will be the output of the following C code?
What Address of k
int *ptr;
ptr = (int*)malloc(sizeof(int)*4);
#include <stdio.h>
ptr =main()
void realloc(ptr,sizeof(int)*2);
{return 0;
} int k = 4;
int of
Which *const p = &k; declaration is not supported by C?
the following String str;
int r = 3;
p = &r;
printf("%d", p);
}

What will be the output of the following C code? 10

#include <stdio.h>
int main()
{
j = 10;
printf("%d\n",
The name j++); used in one function cannot be used in another function 1
of the variable
return 0;
}

Which of the following is not an arithmetic operation? a *= 10;


Option b Option c Option d Option e

Slew rate Sensitivity None of the mentioned

6 4 5

Mapping Function Local Function Assign Function

Half Duplex Full Duplex Both Half and Full Duplex

Complex instruction set Complimentary instruction Complex instruction set


computer set computing complementary

EPROM ROM EEPROM

Address- based protocol ID based protocol Not based on any protocol

a=2, b=1 a=1, b=2 a=2, b=2


1 2 3 4 5 junk 123455 Run time error

Compile time error Run time error p is followed by a garbage


value

Function Array None of the mentioned

4 8 None of the mentioned

Address of r Compile time error Address of k + Address of r

char *str; float str = 3e2; Both String str & float str =
3e2;

11 Compile time error 0

0 Maybe None of the mentioned

a /= 10; a != 10; a %= 10;


Option f Option g Option h Correct answer

b
a

c
Bloom Taxonomy Difficulty Level Topic Score Negative Scoring

Hardware Related 1 0.00


Question

Hardware Related 1 0.00


Question

Hardware Related 1 0.00


Question

Hardware Related 1 0.00


Question

Hardware Related 1 0.00


Question

Hardware Related 1 0.00


Question

Hardware Related 1 0.00


Question

Hardware Related 1 0.00


Question

C Programming Questions 1 0.00


C Programming Questions 1 0.00

C Programming Questions 1 0.00

C Programming Questions 1 0.00

C Programming Questions 1 0.00

C Programming Questions 1 0.00

C Programming Questions 1 0.00

C Programming Questions 1 0.00

C Programming Questions 1 0.00

C Programming Questions 1 0.00

S-ar putea să vă placă și