0% found this document useful (0 votes)
15 views76 pages

Python MCQs: Variables, Functions, Data Types

The document contains a collection of 100 multiple-choice questions (MCQs) focused on programming fundamentals, specifically Python. Key topics include valid variable names, immutable data types, comment symbols, function definitions, and the output of exponentiation. Each question is followed by the correct answer.

Uploaded by

bharathi02072004
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views76 pages

Python MCQs: Variables, Functions, Data Types

The document contains a collection of 100 multiple-choice questions (MCQs) focused on programming fundamentals, specifically Python. Key topics include valid variable names, immutable data types, comment symbols, function definitions, and the output of exponentiation. Each question is followed by the correct answer.

Uploaded by

bharathi02072004
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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. Which of the following is a valid variable name in Python? (Q6)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q7. Which data type is immutable in Python? (Q7)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q8. What symbol is used for comments in Python? (Q8)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q9. Which keyword is used to define a function in Python? (Q9)


A) function

B) def

C) define

D) fun

Answer: B

Q10. What will be the output of: print(2**3)? (Q10)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q16)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q17. Which data type is immutable in Python? (Q17)

A) List

B) Dictionary
C) Tuple

D) Set

Answer: C

Q18. What symbol is used for comments in Python? (Q18)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q19. Which keyword is used to define a function in Python? (Q19)

A) function

B) def

C) define

D) fun

Answer: B

Q20. What will be the output of: print(2**3)? (Q20)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q26)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q27. Which data type is immutable in Python? (Q27)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q28. What symbol is used for comments in Python? (Q28)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q29. Which keyword is used to define a function in Python? (Q29)

A) function

B) def

C) define

D) fun

Answer: B
Q30. What will be the output of: print(2**3)? (Q30)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q36)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q37. Which data type is immutable in Python? (Q37)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q38. What symbol is used for comments in Python? (Q38)

A) //
B) <!-- -->

C) #

D) /* */

Answer: C

Q39. Which keyword is used to define a function in Python? (Q39)

A) function

B) def

C) define

D) fun

Answer: B

Q40. What will be the output of: print(2**3)? (Q40)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q46)

A) 1var

B) _var

C) var-1
D) var 1

Answer: B

Q47. Which data type is immutable in Python? (Q47)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q48. What symbol is used for comments in Python? (Q48)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q49. Which keyword is used to define a function in Python? (Q49)

A) function

B) def

C) define

D) fun

Answer: B

Q50. What will be the output of: print(2**3)? (Q50)

A) 6

B) 8

C) 9

D) 5
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. Which of the following is a valid variable name in Python? (Q56)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q57. Which data type is immutable in Python? (Q57)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q58. What symbol is used for comments in Python? (Q58)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q59. Which keyword is used to define a function in Python? (Q59)


A) function

B) def

C) define

D) fun

Answer: B

Q60. What will be the output of: print(2**3)? (Q60)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q66)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q67. Which data type is immutable in Python? (Q67)

A) List

B) Dictionary
C) Tuple

D) Set

Answer: C

Q68. What symbol is used for comments in Python? (Q68)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q69. Which keyword is used to define a function in Python? (Q69)

A) function

B) def

C) define

D) fun

Answer: B

Q70. What will be the output of: print(2**3)? (Q70)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q76)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q77. Which data type is immutable in Python? (Q77)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q78. What symbol is used for comments in Python? (Q78)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q79. Which keyword is used to define a function in Python? (Q79)

A) function

B) def

C) define

D) fun

Answer: B
Q80. What will be the output of: print(2**3)? (Q80)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q86)

A) 1var

B) _var

C) var-1

D) var 1

Answer: B

Q87. Which data type is immutable in Python? (Q87)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q88. What symbol is used for comments in Python? (Q88)

A) //
B) <!-- -->

C) #

D) /* */

Answer: C

Q89. Which keyword is used to define a function in Python? (Q89)

A) function

B) def

C) define

D) fun

Answer: B

Q90. What will be the output of: print(2**3)? (Q90)

A) 6

B) 8

C) 9

D) 5

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. Which of the following is a valid variable name in Python? (Q96)

A) 1var

B) _var

C) var-1
D) var 1

Answer: B

Q97. Which data type is immutable in Python? (Q97)

A) List

B) Dictionary

C) Tuple

D) Set

Answer: C

Q98. What symbol is used for comments in Python? (Q98)

A) //

B) <!-- -->

C) #

D) /* */

Answer: C

Q99. Which keyword is used to define a function in Python? (Q99)

A) function

B) def

C) define

D) fun

Answer: B

Q100. What will be the output of: print(2**3)? (Q100)

A) 6

B) 8

C) 9

D) 5
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 device is used to connect different networks? (Q6)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q7. What is the full form of IP? (Q7)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q8. Which protocol is used to transfer files over the internet? (Q8)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q9. What does DNS stand for? (Q9)


A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q10. Which layer in the OSI model is responsible for end-to-end communication? (Q10)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q16)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q17. What is the full form of IP? (Q17)

A) Internet Protocol

B) Internal Program
C) Integrated Protocol

D) Internet Program

Answer: A

Q18. Which protocol is used to transfer files over the internet? (Q18)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q19. What does DNS stand for? (Q19)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q20. Which layer in the OSI model is responsible for end-to-end communication? (Q20)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q26)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q27. What is the full form of IP? (Q27)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q28. Which protocol is used to transfer files over the internet? (Q28)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q29. What does DNS stand for? (Q29)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A
Q30. Which layer in the OSI model is responsible for end-to-end communication? (Q30)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q36)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q37. What is the full form of IP? (Q37)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q38. Which protocol is used to transfer files over the internet? (Q38)

A) FTP
B) SMTP

C) HTTP

D) SNMP

Answer: A

Q39. What does DNS stand for? (Q39)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q40. Which layer in the OSI model is responsible for end-to-end communication? (Q40)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q46)

A) Switch

B) Router

C) Hub
D) Modem

Answer: B

Q47. What is the full form of IP? (Q47)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q48. Which protocol is used to transfer files over the internet? (Q48)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q49. What does DNS stand for? (Q49)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q50. Which layer in the OSI model is responsible for end-to-end communication? (Q50)

A) Transport

B) Network

C) Session

D) Data Link
Answer: A

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 device is used to connect different networks? (Q56)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q57. What is the full form of IP? (Q57)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q58. Which protocol is used to transfer files over the internet? (Q58)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q59. What does DNS stand for? (Q59)


A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q60. Which layer in the OSI model is responsible for end-to-end communication? (Q60)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q66)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q67. What is the full form of IP? (Q67)

A) Internet Protocol

B) Internal Program
C) Integrated Protocol

D) Internet Program

Answer: A

Q68. Which protocol is used to transfer files over the internet? (Q68)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q69. What does DNS stand for? (Q69)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q70. Which layer in the OSI model is responsible for end-to-end communication? (Q70)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q76)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q77. What is the full form of IP? (Q77)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q78. Which protocol is used to transfer files over the internet? (Q78)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q79. What does DNS stand for? (Q79)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A
Q80. Which layer in the OSI model is responsible for end-to-end communication? (Q80)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q86)

A) Switch

B) Router

C) Hub

D) Modem

Answer: B

Q87. What is the full form of IP? (Q87)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q88. Which protocol is used to transfer files over the internet? (Q88)

A) FTP
B) SMTP

C) HTTP

D) SNMP

Answer: A

Q89. What does DNS stand for? (Q89)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q90. Which layer in the OSI model is responsible for end-to-end communication? (Q90)

A) Transport

B) Network

C) Session

D) Data Link

Answer: A

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 device is used to connect different networks? (Q96)

A) Switch

B) Router

C) Hub
D) Modem

Answer: B

Q97. What is the full form of IP? (Q97)

A) Internet Protocol

B) Internal Program

C) Integrated Protocol

D) Internet Program

Answer: A

Q98. Which protocol is used to transfer files over the internet? (Q98)

A) FTP

B) SMTP

C) HTTP

D) SNMP

Answer: A

Q99. What does DNS stand for? (Q99)

A) Domain Name Server

B) Digital Network System

C) Domain Naming Service

D) Data Network Server

Answer: A

Q100. Which layer in the OSI model is responsible for end-to-end communication? (Q100)

A) Transport

B) Network

C) Session

D) Data Link
Answer: A
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 of the following is a 16-bit microprocessor? (Q6)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q7. What is the size of the address bus in 8085 microprocessor? (Q7)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q8. Which register in 8085 is used for holding the memory address? (Q8)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q9. What is the function of the ALU? (Q9)


A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q10. Which signal is used to reset the microprocessor? (Q10)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q16)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q17. What is the size of the address bus in 8085 microprocessor? (Q17)

A) 8-bit

B) 16-bit
C) 32-bit

D) 64-bit

Answer: B

Q18. Which register in 8085 is used for holding the memory address? (Q18)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q19. What is the function of the ALU? (Q19)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q20. Which signal is used to reset the microprocessor? (Q20)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q26)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q27. What is the size of the address bus in 8085 microprocessor? (Q27)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q28. Which register in 8085 is used for holding the memory address? (Q28)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q29. What is the function of the ALU? (Q29)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B
Q30. Which signal is used to reset the microprocessor? (Q30)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q36)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q37. What is the size of the address bus in 8085 microprocessor? (Q37)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q38. Which register in 8085 is used for holding the memory address? (Q38)

A) Accumulator
B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q39. What is the function of the ALU? (Q39)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q40. Which signal is used to reset the microprocessor? (Q40)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q46)

A) 8085

B) 8086

C) 8051
D) Z80

Answer: B

Q47. What is the size of the address bus in 8085 microprocessor? (Q47)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q48. Which register in 8085 is used for holding the memory address? (Q48)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q49. What is the function of the ALU? (Q49)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q50. Which signal is used to reset the microprocessor? (Q50)

A) READY

B) INTR

C) RST

D) HOLD
Answer: C

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 of the following is a 16-bit microprocessor? (Q56)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q57. What is the size of the address bus in 8085 microprocessor? (Q57)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q58. Which register in 8085 is used for holding the memory address? (Q58)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q59. What is the function of the ALU? (Q59)


A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q60. Which signal is used to reset the microprocessor? (Q60)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q66)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q67. What is the size of the address bus in 8085 microprocessor? (Q67)

A) 8-bit

B) 16-bit
C) 32-bit

D) 64-bit

Answer: B

Q68. Which register in 8085 is used for holding the memory address? (Q68)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q69. What is the function of the ALU? (Q69)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q70. Which signal is used to reset the microprocessor? (Q70)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q76)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q77. What is the size of the address bus in 8085 microprocessor? (Q77)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q78. Which register in 8085 is used for holding the memory address? (Q78)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q79. What is the function of the ALU? (Q79)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B
Q80. Which signal is used to reset the microprocessor? (Q80)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q86)

A) 8085

B) 8086

C) 8051

D) Z80

Answer: B

Q87. What is the size of the address bus in 8085 microprocessor? (Q87)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q88. Which register in 8085 is used for holding the memory address? (Q88)

A) Accumulator
B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q89. What is the function of the ALU? (Q89)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q90. Which signal is used to reset the microprocessor? (Q90)

A) READY

B) INTR

C) RST

D) HOLD

Answer: C

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 of the following is a 16-bit microprocessor? (Q96)

A) 8085

B) 8086

C) 8051
D) Z80

Answer: B

Q97. What is the size of the address bus in 8085 microprocessor? (Q97)

A) 8-bit

B) 16-bit

C) 32-bit

D) 64-bit

Answer: B

Q98. Which register in 8085 is used for holding the memory address? (Q98)

A) Accumulator

B) Stack Pointer

C) Program Counter

D) General Purpose

Answer: C

Q99. What is the function of the ALU? (Q99)

A) Store data

B) Perform arithmetic and logic operations

C) Control I/O devices

D) Fetch instructions

Answer: B

Q100. Which signal is used to reset the microprocessor? (Q100)

A) READY

B) INTR

C) RST

D) HOLD
Answer: C

You might also like