Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

DEPARTMENT OF EEE

Special Course Exam


IoT Based Automation
Date & Session: 04-04-2018/FN Duration: 1 Hour
Answer all the question
1. 8051 series of micro controllers are made by which of the following companies?
a) Atmel
b) Philips
c) None of the mentioned
d) Both of the mentioned
2. When 8051 wakes up then 0x00 is loaded to which register?
a) DPTR
b) SP
c) PC
d) PSW
3. When the micro controller executes some arithmetic operations, then the flag bits of which register are
affected?
a) PSW
b) SP
c) DPTR
d) PC
4. If we push data onto the stack then the stack pointer
a) increases with every push
b) decreases with every push
c) none of the mentioned
d) both of the mentioned
5. How many bytes of bit addressable memory is present in 8051 based micro controllers?
a) 8 bytes
b) 32 bytes
c) 16 bytes
d) 128 bytes
6. DJNZ R0, label is how many bit instruction?
a) 2 c) 1
b) 3 d) Can’t be determined
7. When the call instruction is executed the top most element of stack comes out to be
a) the address where stack pointer starts
b) the address next to the call instruction
c) address of the call instruction
d) next address of the stack pointer
8. LCALL instruction takes
a) 2 bytes c) 3 bytes
b) 4 bytes d) 1 byte
9. Are PUSH and POP instructions are a type of CALL instructions?
a) yes
b) no
c) none of the mentioned
d) can’t be determined
10. Which out of the four ports of 8051 needs a pull-up resistor for using it is as an input or an output port?
a) PORT 0
b) PORT 1
c) PORT 2
d) PORT 3
11. Which of the ports act as the 16 bit address lines for transferring data through it?
a) PORT 0 and PORT 1
b) PORT 1 and PORT 2
c) PORT 0 and PORT 2
d) PORT 1 and PORT 3
12. Which of the following registers are not bit addressable?
a) SCON
b) PCON
c) A
d) PSW
13. Which operator is the most important while assigning any instruction as register indirect instruction?
a) $
b) #
c) @
d) &
14. Is this a valid statement? SETB A
a) yes
b) no
c) can’t be determined
d) none of the mentioned
15. When we add two numbers the destination address must always be.
a) some immediate data
b) any register
c) accumulator
d) memory
16. A valid division instruction always makes:
a) CY=0,AC=1
b) CY=1,AC=1
c) CY=0,AC=0
d) no relation with AC and CY
17. What is the clock source for the timers?
a) some external crystal applied to the micro-controller for executing the timer
b) from the crystal applied to the micro-controller
c) through the software
d) through programming
18. Auto reload mode is allowed in which mode of the timer?
a) Mode 0 c) Mode 2
b) Mode 1 d) Mode 3
19. If Timer 0 is to be used as a counter, then at what particular pin clock pulse need to be applied?
a) P3.3 c) P3.5
b) P3.4 d) P3.6
20. Which of the following signal control the flow of data?
a) RTS
b) DTR
c) Both of the mentioned
d) None of the mentioned
21. What are the contents of the IE register, when the interrupt of the memory location 0x00 is caused?
a) 0xFFH
b) 0x00H
c) 0x10H
d) 0xF0H
22. How many rows and columns are present in a 16*2 alphanumeric LCD?
a) rows=2, columns=32
b) rows=16, columns=2
c) rows=16, columns=16
d) rows=2, columns=16
23. How many data lines are there in a 16*2 alphanumeric LCD?
a) 16 c) 1
b) 8 d) 0
24. In reading the columns of a matrix, if no key is pressed we should get all in binary notation
a) 0 c) F
b) 1 d) 7
25. Key press detection and Key identification are:
a) the same processes
b) two different works done in Keyboard Interfacing
c) none of the mentioned
d) any of the mentioned
26. Number of elements in the Open IoT Architecture?
a) 6 elements
b) 8 elements
c) 7 elements
d) 3 elements
27. Global Sensor Network is built for _________
a) Reducing cost and time for development
b) Reducing cost and increasing time for development
c) Increasing cost and increasing time for development
d) Increasing cost and decreasing time for development
28. Internet of Things needs a lot of network connection. What is the proposed “white Space” radio
standard called?
a) Bluetooth
b) WiMax
c) Weightless
d) Zigbee
29. What is the sensor/protocol used in GSN?
a) HTTP protocol
b) CoAP protocol
c) MQTT protocol
d) XMPP protocol
30. Which is the core wrapper of GSN?
a) Serial
b) UDP
c) GPSTest
d) ZeroMQWrapper
31. Open IoT ontology is extending the W3C SSN ontology which supports the description of the physical
and processing structure of sensors.
a) True
b) False
32. Which environment does Global Sensor Network works on?
a) C++
b) JAVA
c) HTML
d) C
33. ___________ is a community that is working together to establish an IoT architecture.
a) Eclipse IoT
b) Red Hat
c) Inter Cloud
d) Bot 2 Bot

34. _________ provides a middleware and application container for IoT gateway.
a) Eclipse Kura
b) Red Hat
c) Inter Cloud
d) Bot 2 Bot
35. _________ is a modular and cloud based platform.
a) Eclipse Kura
b) Red Hat
c) Inter Cloud
d) Eclipse Kapua
36. _________ an open source stacks for gateways and the edge.
a) Eclipse Kapua
b) Red Hat
c) Inter Cloud
d) Eclipse Kura
37. MQTT stands for _____________
a) MQ Telemetry Things
b) MQ Transport Telemetry
c) MQ Transport Things
d) MQ Telemetry Transport
38. MQTT is better than HTTP for sending and receiving data.
a) True b) False
39. MQTT is _________ protocol.
a) Machine to Machine
b) Internet of Things
c) Machine to Machine and Internet of Things
d) Machine Things
40. Which protocol is lightweight?
a) MQTT c) CoAP
b) HTTPd) SPI
41. PubNub publishes and subscribes _________ in order to send and receive messages.
a) Network
b) Account
c) Portal
d) Keys
42. The messageChannel class declares the _________ class attribute that defines the key string.
a) command_key c) commandkey
b) command-key d) Key_command
43. _________ method saves the received arguments in three attributes.
a) __Init c) __Init__
b) Init__ d) _init_
44. _________ and _________ saves the publish and subscribe keys that we have generated with the
PubNub Admin portal.
a) public_key and subscribe_key
b) Public-key and subscribe-key
c) publickey and subscribekey
d) Key_public and key_subscribe
45. _________ specifies the function that will be called when there is a new message received from the
channel.
a) Reconnect
b) Error
c) Connect
d) Callback
46. _________ Specifies the function that will be called when a successful connection with the PubNub
cloud.
a) Callback c) Connect
b) Error d) Reconnect
47. _________ specifies the function that will be called when a successful re-connection is completed.
a) Callback
b) Error
c) Connect
d) Reconnect
48. ___________ specifies the function that will be called when the client disconnects.
a) Callback c) Connect
b) Error d) Disconnect
49. One of the main characteristics of Linked Stream Data is “Live Streaming”.
a) True b) False
50. 4. The huge number of devices connected to the Internet of Things has to communicate automatically,
not via humans. What is this called?
a) Skynet c) Machine 2 Machine
b) Bot 2 Bot d) Intercloud

You might also like