MCQs Collection: Programming, Networking, Microprocessor
Fundamentals of Programming - 100 MCQs
Q1. Which of the following is a valid variable name in Python? (Q1)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q2. Which data type is immutable in Python? (Q2)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q3. What symbol is used for comments in Python? (Q3)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q4. Which keyword is used to define a function in Python? (Q4)
A) function
B) def
C) define
D) fun
Answer: B
Q5. What will be the output of: print(2**3)? (Q5)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q6. What is the default data type for a number with a decimal in Python? (Q6)
A) int
B) float
C) double
D) str
Answer: B
Q7. What is the keyword to start a loop in Python? (Q7)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q8. Which of these is not a Python data structure? (Q8)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q9. Which function is used to get the length of a list? (Q9)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q10. Which operator is used for floor division? (Q10)
A) /
B) //
C) %
D) **
Answer: B
Q11. Which of the following is a valid variable name in Python? (Q11)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q12. Which data type is immutable in Python? (Q12)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q13. What symbol is used for comments in Python? (Q13)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q14. Which keyword is used to define a function in Python? (Q14)
A) function
B) def
C) define
D) fun
Answer: B
Q15. What will be the output of: print(2**3)? (Q15)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q16. What is the default data type for a number with a decimal in Python? (Q16)
A) int
B) float
C) double
D) str
Answer: B
Q17. What is the keyword to start a loop in Python? (Q17)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q18. Which of these is not a Python data structure? (Q18)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q19. Which function is used to get the length of a list? (Q19)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q20. Which operator is used for floor division? (Q20)
A) /
B) //
C) %
D) **
Answer: B
Q21. Which of the following is a valid variable name in Python? (Q21)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q22. Which data type is immutable in Python? (Q22)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q23. What symbol is used for comments in Python? (Q23)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q24. Which keyword is used to define a function in Python? (Q24)
A) function
B) def
C) define
D) fun
Answer: B
Q25. What will be the output of: print(2**3)? (Q25)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q26. What is the default data type for a number with a decimal in Python? (Q26)
A) int
B) float
C) double
D) str
Answer: B
Q27. What is the keyword to start a loop in Python? (Q27)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q28. Which of these is not a Python data structure? (Q28)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q29. Which function is used to get the length of a list? (Q29)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q30. Which operator is used for floor division? (Q30)
A) /
B) //
C) %
D) **
Answer: B
Q31. Which of the following is a valid variable name in Python? (Q31)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q32. Which data type is immutable in Python? (Q32)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q33. What symbol is used for comments in Python? (Q33)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q34. Which keyword is used to define a function in Python? (Q34)
A) function
B) def
C) define
D) fun
Answer: B
Q35. What will be the output of: print(2**3)? (Q35)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q36. What is the default data type for a number with a decimal in Python? (Q36)
A) int
B) float
C) double
D) str
Answer: B
Q37. What is the keyword to start a loop in Python? (Q37)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q38. Which of these is not a Python data structure? (Q38)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q39. Which function is used to get the length of a list? (Q39)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q40. Which operator is used for floor division? (Q40)
A) /
B) //
C) %
D) **
Answer: B
Q41. Which of the following is a valid variable name in Python? (Q41)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q42. Which data type is immutable in Python? (Q42)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q43. What symbol is used for comments in Python? (Q43)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q44. Which keyword is used to define a function in Python? (Q44)
A) function
B) def
C) define
D) fun
Answer: B
Q45. What will be the output of: print(2**3)? (Q45)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q46. What is the default data type for a number with a decimal in Python? (Q46)
A) int
B) float
C) double
D) str
Answer: B
Q47. What is the keyword to start a loop in Python? (Q47)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q48. Which of these is not a Python data structure? (Q48)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q49. Which function is used to get the length of a list? (Q49)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q50. Which operator is used for floor division? (Q50)
A) /
B) //
C) %
D) **
Answer: B
Q51. Which of the following is a valid variable name in Python? (Q51)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q52. Which data type is immutable in Python? (Q52)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q53. What symbol is used for comments in Python? (Q53)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q54. Which keyword is used to define a function in Python? (Q54)
A) function
B) def
C) define
D) fun
Answer: B
Q55. What will be the output of: print(2**3)? (Q55)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q56. What is the default data type for a number with a decimal in Python? (Q56)
A) int
B) float
C) double
D) str
Answer: B
Q57. What is the keyword to start a loop in Python? (Q57)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q58. Which of these is not a Python data structure? (Q58)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q59. Which function is used to get the length of a list? (Q59)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q60. Which operator is used for floor division? (Q60)
A) /
B) //
C) %
D) **
Answer: B
Q61. Which of the following is a valid variable name in Python? (Q61)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q62. Which data type is immutable in Python? (Q62)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q63. What symbol is used for comments in Python? (Q63)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q64. Which keyword is used to define a function in Python? (Q64)
A) function
B) def
C) define
D) fun
Answer: B
Q65. What will be the output of: print(2**3)? (Q65)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q66. What is the default data type for a number with a decimal in Python? (Q66)
A) int
B) float
C) double
D) str
Answer: B
Q67. What is the keyword to start a loop in Python? (Q67)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q68. Which of these is not a Python data structure? (Q68)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q69. Which function is used to get the length of a list? (Q69)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q70. Which operator is used for floor division? (Q70)
A) /
B) //
C) %
D) **
Answer: B
Q71. Which of the following is a valid variable name in Python? (Q71)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q72. Which data type is immutable in Python? (Q72)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q73. What symbol is used for comments in Python? (Q73)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q74. Which keyword is used to define a function in Python? (Q74)
A) function
B) def
C) define
D) fun
Answer: B
Q75. What will be the output of: print(2**3)? (Q75)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q76. What is the default data type for a number with a decimal in Python? (Q76)
A) int
B) float
C) double
D) str
Answer: B
Q77. What is the keyword to start a loop in Python? (Q77)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q78. Which of these is not a Python data structure? (Q78)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q79. Which function is used to get the length of a list? (Q79)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q80. Which operator is used for floor division? (Q80)
A) /
B) //
C) %
D) **
Answer: B
Q81. Which of the following is a valid variable name in Python? (Q81)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q82. Which data type is immutable in Python? (Q82)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q83. What symbol is used for comments in Python? (Q83)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q84. Which keyword is used to define a function in Python? (Q84)
A) function
B) def
C) define
D) fun
Answer: B
Q85. What will be the output of: print(2**3)? (Q85)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q86. What is the default data type for a number with a decimal in Python? (Q86)
A) int
B) float
C) double
D) str
Answer: B
Q87. What is the keyword to start a loop in Python? (Q87)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q88. Which of these is not a Python data structure? (Q88)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q89. Which function is used to get the length of a list? (Q89)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q90. Which operator is used for floor division? (Q90)
A) /
B) //
C) %
D) **
Answer: B
Q91. Which of the following is a valid variable name in Python? (Q91)
A) 1var
B) _var
C) var-1
D) var 1
Answer: B
Q92. Which data type is immutable in Python? (Q92)
A) List
B) Dictionary
C) Tuple
D) Set
Answer: C
Q93. What symbol is used for comments in Python? (Q93)
A) //
B) <!-- -->
C) #
D) /* */
Answer: C
Q94. Which keyword is used to define a function in Python? (Q94)
A) function
B) def
C) define
D) fun
Answer: B
Q95. What will be the output of: print(2**3)? (Q95)
A) 6
B) 8
C) 9
D) 5
Answer: B
Q96. What is the default data type for a number with a decimal in Python? (Q96)
A) int
B) float
C) double
D) str
Answer: B
Q97. What is the keyword to start a loop in Python? (Q97)
A) repeat
B) for
C) iterate
D) loop
Answer: B
Q98. Which of these is not a Python data structure? (Q98)
A) List
B) Dictionary
C) Tree
D) Tuple
Answer: C
Q99. Which function is used to get the length of a list? (Q99)
A) length()
B) size()
C) len()
D) count()
Answer: C
Q100. Which operator is used for floor division? (Q100)
A) /
B) //
C) %
D) **
Answer: B
Networking - 100 MCQs
Q1. Which device is used to connect different networks? (Q1)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q2. What is the full form of IP? (Q2)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q3. Which protocol is used to transfer files over the internet? (Q3)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q4. What does DNS stand for? (Q4)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q5. Which layer in the OSI model is responsible for end-to-end communication? (Q5)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q6. Which port does HTTP use by default? (Q6)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q7. What is the maximum length of an IPv4 address? (Q7)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q8. Which topology uses a central device? (Q8)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q9. Which protocol is used to send emails? (Q9)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q10. What is a MAC address used for? (Q10)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q11. Which device is used to connect different networks? (Q11)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q12. What is the full form of IP? (Q12)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q13. Which protocol is used to transfer files over the internet? (Q13)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q14. What does DNS stand for? (Q14)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q15. Which layer in the OSI model is responsible for end-to-end communication? (Q15)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q16. Which port does HTTP use by default? (Q16)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q17. What is the maximum length of an IPv4 address? (Q17)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q18. Which topology uses a central device? (Q18)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q19. Which protocol is used to send emails? (Q19)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q20. What is a MAC address used for? (Q20)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q21. Which device is used to connect different networks? (Q21)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q22. What is the full form of IP? (Q22)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q23. Which protocol is used to transfer files over the internet? (Q23)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q24. What does DNS stand for? (Q24)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q25. Which layer in the OSI model is responsible for end-to-end communication? (Q25)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q26. Which port does HTTP use by default? (Q26)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q27. What is the maximum length of an IPv4 address? (Q27)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q28. Which topology uses a central device? (Q28)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q29. Which protocol is used to send emails? (Q29)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q30. What is a MAC address used for? (Q30)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q31. Which device is used to connect different networks? (Q31)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q32. What is the full form of IP? (Q32)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q33. Which protocol is used to transfer files over the internet? (Q33)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q34. What does DNS stand for? (Q34)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q35. Which layer in the OSI model is responsible for end-to-end communication? (Q35)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q36. Which port does HTTP use by default? (Q36)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q37. What is the maximum length of an IPv4 address? (Q37)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q38. Which topology uses a central device? (Q38)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q39. Which protocol is used to send emails? (Q39)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q40. What is a MAC address used for? (Q40)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q41. Which device is used to connect different networks? (Q41)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q42. What is the full form of IP? (Q42)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q43. Which protocol is used to transfer files over the internet? (Q43)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q44. What does DNS stand for? (Q44)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q45. Which layer in the OSI model is responsible for end-to-end communication? (Q45)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q46. Which port does HTTP use by default? (Q46)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q47. What is the maximum length of an IPv4 address? (Q47)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q48. Which topology uses a central device? (Q48)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q49. Which protocol is used to send emails? (Q49)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q50. What is a MAC address used for? (Q50)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q51. Which device is used to connect different networks? (Q51)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q52. What is the full form of IP? (Q52)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q53. Which protocol is used to transfer files over the internet? (Q53)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q54. What does DNS stand for? (Q54)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q55. Which layer in the OSI model is responsible for end-to-end communication? (Q55)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q56. Which port does HTTP use by default? (Q56)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q57. What is the maximum length of an IPv4 address? (Q57)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q58. Which topology uses a central device? (Q58)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q59. Which protocol is used to send emails? (Q59)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q60. What is a MAC address used for? (Q60)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q61. Which device is used to connect different networks? (Q61)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q62. What is the full form of IP? (Q62)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q63. Which protocol is used to transfer files over the internet? (Q63)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q64. What does DNS stand for? (Q64)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q65. Which layer in the OSI model is responsible for end-to-end communication? (Q65)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q66. Which port does HTTP use by default? (Q66)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q67. What is the maximum length of an IPv4 address? (Q67)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q68. Which topology uses a central device? (Q68)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q69. Which protocol is used to send emails? (Q69)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q70. What is a MAC address used for? (Q70)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q71. Which device is used to connect different networks? (Q71)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q72. What is the full form of IP? (Q72)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q73. Which protocol is used to transfer files over the internet? (Q73)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q74. What does DNS stand for? (Q74)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q75. Which layer in the OSI model is responsible for end-to-end communication? (Q75)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q76. Which port does HTTP use by default? (Q76)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q77. What is the maximum length of an IPv4 address? (Q77)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q78. Which topology uses a central device? (Q78)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q79. Which protocol is used to send emails? (Q79)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q80. What is a MAC address used for? (Q80)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q81. Which device is used to connect different networks? (Q81)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q82. What is the full form of IP? (Q82)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q83. Which protocol is used to transfer files over the internet? (Q83)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q84. What does DNS stand for? (Q84)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q85. Which layer in the OSI model is responsible for end-to-end communication? (Q85)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q86. Which port does HTTP use by default? (Q86)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q87. What is the maximum length of an IPv4 address? (Q87)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q88. Which topology uses a central device? (Q88)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q89. Which protocol is used to send emails? (Q89)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q90. What is a MAC address used for? (Q90)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Q91. Which device is used to connect different networks? (Q91)
A) Switch
B) Router
C) Hub
D) Modem
Answer: B
Q92. What is the full form of IP? (Q92)
A) Internet Protocol
B) Internal Program
C) Integrated Protocol
D) Internet Program
Answer: A
Q93. Which protocol is used to transfer files over the internet? (Q93)
A) FTP
B) SMTP
C) HTTP
D) SNMP
Answer: A
Q94. What does DNS stand for? (Q94)
A) Domain Name Server
B) Digital Network System
C) Domain Naming Service
D) Data Network Server
Answer: A
Q95. Which layer in the OSI model is responsible for end-to-end communication? (Q95)
A) Transport
B) Network
C) Session
D) Data Link
Answer: A
Q96. Which port does HTTP use by default? (Q96)
A) 20
B) 21
C) 80
D) 25
Answer: C
Q97. What is the maximum length of an IPv4 address? (Q97)
A) 32 bits
B) 64 bits
C) 128 bits
D) 256 bits
Answer: A
Q98. Which topology uses a central device? (Q98)
A) Ring
B) Star
C) Mesh
D) Bus
Answer: B
Q99. Which protocol is used to send emails? (Q99)
A) FTP
B) SMTP
C) POP3
D) SNMP
Answer: B
Q100. What is a MAC address used for? (Q100)
A) Internet access
B) Device identification
C) Website security
D) Encryption
Answer: B
Microprocessor - 100 MCQs
Q1. Which of the following is a 16-bit microprocessor? (Q1)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q2. What is the size of the address bus in 8085 microprocessor? (Q2)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q3. Which register in 8085 is used for holding the memory address? (Q3)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q4. What is the function of the ALU? (Q4)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q5. Which signal is used to reset the microprocessor? (Q5)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q6. Which instruction is used to stop execution in 8085? (Q6)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q7. How many general-purpose registers are there in 8085? (Q7)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q8. What is the word length of 8085? (Q8)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q9. Which register pair is used to access memory in 8085? (Q9)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q10. What is the use of the accumulator? (Q10)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q11. Which of the following is a 16-bit microprocessor? (Q11)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q12. What is the size of the address bus in 8085 microprocessor? (Q12)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q13. Which register in 8085 is used for holding the memory address? (Q13)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q14. What is the function of the ALU? (Q14)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q15. Which signal is used to reset the microprocessor? (Q15)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q16. Which instruction is used to stop execution in 8085? (Q16)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q17. How many general-purpose registers are there in 8085? (Q17)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q18. What is the word length of 8085? (Q18)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q19. Which register pair is used to access memory in 8085? (Q19)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q20. What is the use of the accumulator? (Q20)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q21. Which of the following is a 16-bit microprocessor? (Q21)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q22. What is the size of the address bus in 8085 microprocessor? (Q22)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q23. Which register in 8085 is used for holding the memory address? (Q23)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q24. What is the function of the ALU? (Q24)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q25. Which signal is used to reset the microprocessor? (Q25)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q26. Which instruction is used to stop execution in 8085? (Q26)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q27. How many general-purpose registers are there in 8085? (Q27)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q28. What is the word length of 8085? (Q28)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q29. Which register pair is used to access memory in 8085? (Q29)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q30. What is the use of the accumulator? (Q30)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q31. Which of the following is a 16-bit microprocessor? (Q31)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q32. What is the size of the address bus in 8085 microprocessor? (Q32)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q33. Which register in 8085 is used for holding the memory address? (Q33)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q34. What is the function of the ALU? (Q34)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q35. Which signal is used to reset the microprocessor? (Q35)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q36. Which instruction is used to stop execution in 8085? (Q36)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q37. How many general-purpose registers are there in 8085? (Q37)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q38. What is the word length of 8085? (Q38)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q39. Which register pair is used to access memory in 8085? (Q39)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q40. What is the use of the accumulator? (Q40)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q41. Which of the following is a 16-bit microprocessor? (Q41)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q42. What is the size of the address bus in 8085 microprocessor? (Q42)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q43. Which register in 8085 is used for holding the memory address? (Q43)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q44. What is the function of the ALU? (Q44)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q45. Which signal is used to reset the microprocessor? (Q45)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q46. Which instruction is used to stop execution in 8085? (Q46)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q47. How many general-purpose registers are there in 8085? (Q47)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q48. What is the word length of 8085? (Q48)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q49. Which register pair is used to access memory in 8085? (Q49)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q50. What is the use of the accumulator? (Q50)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q51. Which of the following is a 16-bit microprocessor? (Q51)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q52. What is the size of the address bus in 8085 microprocessor? (Q52)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q53. Which register in 8085 is used for holding the memory address? (Q53)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q54. What is the function of the ALU? (Q54)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q55. Which signal is used to reset the microprocessor? (Q55)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q56. Which instruction is used to stop execution in 8085? (Q56)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q57. How many general-purpose registers are there in 8085? (Q57)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q58. What is the word length of 8085? (Q58)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q59. Which register pair is used to access memory in 8085? (Q59)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q60. What is the use of the accumulator? (Q60)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q61. Which of the following is a 16-bit microprocessor? (Q61)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q62. What is the size of the address bus in 8085 microprocessor? (Q62)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q63. Which register in 8085 is used for holding the memory address? (Q63)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q64. What is the function of the ALU? (Q64)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q65. Which signal is used to reset the microprocessor? (Q65)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q66. Which instruction is used to stop execution in 8085? (Q66)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q67. How many general-purpose registers are there in 8085? (Q67)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q68. What is the word length of 8085? (Q68)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q69. Which register pair is used to access memory in 8085? (Q69)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q70. What is the use of the accumulator? (Q70)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q71. Which of the following is a 16-bit microprocessor? (Q71)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q72. What is the size of the address bus in 8085 microprocessor? (Q72)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q73. Which register in 8085 is used for holding the memory address? (Q73)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q74. What is the function of the ALU? (Q74)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q75. Which signal is used to reset the microprocessor? (Q75)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q76. Which instruction is used to stop execution in 8085? (Q76)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q77. How many general-purpose registers are there in 8085? (Q77)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q78. What is the word length of 8085? (Q78)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q79. Which register pair is used to access memory in 8085? (Q79)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q80. What is the use of the accumulator? (Q80)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q81. Which of the following is a 16-bit microprocessor? (Q81)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q82. What is the size of the address bus in 8085 microprocessor? (Q82)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q83. Which register in 8085 is used for holding the memory address? (Q83)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q84. What is the function of the ALU? (Q84)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q85. Which signal is used to reset the microprocessor? (Q85)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q86. Which instruction is used to stop execution in 8085? (Q86)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q87. How many general-purpose registers are there in 8085? (Q87)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q88. What is the word length of 8085? (Q88)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q89. Which register pair is used to access memory in 8085? (Q89)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q90. What is the use of the accumulator? (Q90)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D
Q91. Which of the following is a 16-bit microprocessor? (Q91)
A) 8085
B) 8086
C) 8051
D) Z80
Answer: B
Q92. What is the size of the address bus in 8085 microprocessor? (Q92)
A) 8-bit
B) 16-bit
C) 32-bit
D) 64-bit
Answer: B
Q93. Which register in 8085 is used for holding the memory address? (Q93)
A) Accumulator
B) Stack Pointer
C) Program Counter
D) General Purpose
Answer: C
Q94. What is the function of the ALU? (Q94)
A) Store data
B) Perform arithmetic and logic operations
C) Control I/O devices
D) Fetch instructions
Answer: B
Q95. Which signal is used to reset the microprocessor? (Q95)
A) READY
B) INTR
C) RST
D) HOLD
Answer: C
Q96. Which instruction is used to stop execution in 8085? (Q96)
A) JMP
B) MOV
C) HLT
D) CALL
Answer: C
Q97. How many general-purpose registers are there in 8085? (Q97)
A) 3
B) 5
C) 6
D) 8
Answer: C
Q98. What is the word length of 8085? (Q98)
A) 4-bit
B) 8-bit
C) 16-bit
D) 32-bit
Answer: B
Q99. Which register pair is used to access memory in 8085? (Q99)
A) DE
B) HL
C) BC
D) SP
Answer: B
Q100. What is the use of the accumulator? (Q100)
A) Stores data temporarily
B) Stores program counter
C) Performs multiplication
D) Stores results of operations
Answer: D