0% found this document useful (0 votes)
6 views25 pages

Python Basics: Algorithms and Flowcharts

The document consists of a series of questions and answers related to Python programming concepts, including algorithms, flowcharts, and Python's features. Key topics covered include the definition of algorithms, flowchart symbols, Python's history, and its applications. The document serves as a quiz or study guide for understanding fundamental Python concepts.

Uploaded by

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

Python Basics: Algorithms and Flowcharts

The document consists of a series of questions and answers related to Python programming concepts, including algorithms, flowcharts, and Python's features. Key topics covered include the definition of algorithms, flowchart symbols, Python's history, and its applications. The document serves as a quiz or study guide for understanding fundamental Python concepts.

Uploaded by

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

PYTHON UNIT–1 BIT BANK

Q1. What is a step-by-step method to solve a problem called?

a) Algorithm

b) Flowchart

c) Program

Answer: Algorithm

Q2. In Python, What is a step-by-step method to solve a problem called?

a) Algorithm

b) Flowchart

c) Program

Answer: Algorithm

Q3. Consider this: What is a step-by-step method to solve a problem called?

a) Algorithm

b) Flowchart

c) Program

Answer: Algorithm

Q4. Regarding this concept, What is a step-by-step method to solve a problem called?

a) Algorithm

b) Flowchart

c) Program

Answer: Algorithm
Q5. Which diagram uses symbols to show program flow?

a) Flowchart

b) Algorithm

c) Blueprint

Answer: Flowchart

Q6. In Python, Which diagram uses symbols to show program flow?

a) Flowchart

b) Algorithm

c) Blueprint

Answer: Flowchart

Q7. Consider this: Which diagram uses symbols to show program flow?

a) Flowchart

b) Algorithm

c) Blueprint

Answer: Flowchart

Q8. Regarding this concept, Which diagram uses symbols to show program flow?

a) Flowchart

b) Algorithm

c) Blueprint

Answer: Flowchart

Q9. Which flowchart symbol represents start/end?

a) Oval
b) Rectangle

c) Diamond

Answer: Oval

Q10. In Python, Which flowchart symbol represents start/end?

a) Oval

b) Rectangle

c) Diamond

Answer: Oval

Q11. Consider this: Which flowchart symbol represents start/end?

a) Oval

b) Rectangle

c) Diamond

Answer: Oval

Q12. Regarding this concept, Which flowchart symbol represents start/end?

a) Oval

b) Rectangle

c) Diamond

Answer: Oval

Q13. Which flowchart symbol represents a process?

a) Rectangle

b) Oval

c) Parallelogram
Answer: Rectangle

Q14. In Python, Which flowchart symbol represents a process?

a) Rectangle

b) Oval

c) Parallelogram

Answer: Rectangle

Q15. Consider this: Which flowchart symbol represents a process?

a) Rectangle

b) Oval

c) Parallelogram

Answer: Rectangle

Q16. Regarding this concept, Which flowchart symbol represents a process?

a) Rectangle

b) Oval

c) Parallelogram

Answer: Rectangle

Q17. Which flowchart symbol represents a decision?

a) Diamond

b) Circle

c) Hexagon

Answer: Diamond
Q18. In Python, Which flowchart symbol represents a decision?

a) Diamond

b) Circle

c) Hexagon

Answer: Diamond

Q19. Consider this: Which flowchart symbol represents a decision?

a) Diamond

b) Circle

c) Hexagon

Answer: Diamond

Q20. Regarding this concept, Which flowchart symbol represents a decision?

a) Diamond

b) Circle

c) Hexagon

Answer: Diamond

Q21. What is the first step in problem solving?

a) Understanding the problem

b) Writing code

c) Testing output

Answer: Understanding the problem

Q22. In Python, What is the first step in problem solving?

a) Understanding the problem


b) Writing code

c) Testing output

Answer: Understanding the problem

Q23. Consider this: What is the first step in problem solving?

a) Understanding the problem

b) Writing code

c) Testing output

Answer: Understanding the problem

Q24. Regarding this concept, What is the first step in problem solving?

a) Understanding the problem

b) Writing code

c) Testing output

Answer: Understanding the problem

Q25. What comes after designing an algorithm?

a) Writing code

b) Drawing data table

c) Shutting system

Answer: Writing code

Q26. In Python, What comes after designing an algorithm?

a) Writing code

b) Drawing data table

c) Shutting system
Answer: Writing code

Q27. Consider this: What comes after designing an algorithm?

a) Writing code

b) Drawing data table

c) Shutting system

Answer: Writing code

Q28. Regarding this concept, What comes after designing an algorithm?

a) Writing code

b) Drawing data table

c) Shutting system

Answer: Writing code

Q29. What is an advantage of using flowcharts?

a) Visual representation of logic

b) Faster execution

c) More storage

Answer: Visual representation of logic

Q30. In Python, What is an advantage of using flowcharts?

a) Visual representation of logic

b) Faster execution

c) More storage

Answer: Visual representation of logic


Q31. Consider this: What is an advantage of using flowcharts?

a) Visual representation of logic

b) Faster execution

c) More storage

Answer: Visual representation of logic

Q32. Regarding this concept, What is an advantage of using flowcharts?

a) Visual representation of logic

b) Faster execution

c) More storage

Answer: Visual representation of logic

Q33. What is an algorithm usually written in?

a) Simple English-like steps

b) Binary code

c) Hex values

Answer: Simple English-like steps

Q34. In Python, What is an algorithm usually written in?

a) Simple English-like steps

b) Binary code

c) Hex values

Answer: Simple English-like steps

Q35. Consider this: What is an algorithm usually written in?

a) Simple English-like steps


b) Binary code

c) Hex values

Answer: Simple English-like steps

Q36. Regarding this concept, What is an algorithm usually written in?

a) Simple English-like steps

b) Binary code

c) Hex values

Answer: Simple English-like steps

Q37. Who created the Python language?

a) Guido van Rossum

b) James Gosling

c) Dennis Ritchie

Answer: Guido van Rossum

Q38. In Python, Who created the Python language?

a) Guido van Rossum

b) James Gosling

c) Dennis Ritchie

Answer: Guido van Rossum

Q39. Consider this: Who created the Python language?

a) Guido van Rossum

b) James Gosling

c) Dennis Ritchie
Answer: Guido van Rossum

Q40. Regarding this concept, Who created the Python language?

a) Guido van Rossum

b) James Gosling

c) Dennis Ritchie

Answer: Guido van Rossum

Q41. In which year was Python first released?

a) 1991

b) 1980

c) 2001

Answer: 1991

Q42. In Python, In which year was Python first released?

a) 1991

b) 1980

c) 2001

Answer: 1991

Q43. Consider this: In which year was Python first released?

a) 1991

b) 1980

c) 2001

Answer: 1991
Q44. Regarding this concept, In which year was Python first released?

a) 1991

b) 1980

c) 2001

Answer: 1991

Q45. Python is mainly classified as which type of language?

a) High-level

b) Low-level

c) Machine-level

Answer: High-level

Q46. In Python, Python is mainly classified as which type of language?

a) High-level

b) Low-level

c) Machine-level

Answer: High-level

Q47. Consider this: Python is mainly classified as which type of language?

a) High-level

b) Low-level

c) Machine-level

Answer: High-level

Q48. Regarding this concept, Python is mainly classified as which type of language?

a) High-level
b) Low-level

c) Machine-level

Answer: High-level

Q49. Python code is executed by which component?

a) Interpreter

b) Compiler

c) Assembler

Answer: Interpreter

Q50. In Python, Python code is executed by which component?

a) Interpreter

b) Compiler

c) Assembler

Answer: Interpreter

Q51. Consider this: Python code is executed by which component?

a) Interpreter

b) Compiler

c) Assembler

Answer: Interpreter

Q52. Regarding this concept, Python code is executed by which component?

a) Interpreter

b) Compiler

c) Assembler
Answer: Interpreter

Q53. Which of these is a key feature of Python?

a) Dynamic typing

b) Manual memory management

c) Lack of libraries

Answer: Dynamic typing

Q54. In Python, Which of these is a key feature of Python?

a) Dynamic typing

b) Manual memory management

c) Lack of libraries

Answer: Dynamic typing

Q55. Consider this: Which of these is a key feature of Python?

a) Dynamic typing

b) Manual memory management

c) Lack of libraries

Answer: Dynamic typing

Q56. Regarding this concept, Which of these is a key feature of Python?

a) Dynamic typing

b) Manual memory management

c) Lack of libraries

Answer: Dynamic typing


Q57. Python code is generally considered to be ______.

a) Readable

b) Unreadable

c) Only numeric

Answer: Readable

Q58. In Python, Python code is generally considered to be ______.

a) Readable

b) Unreadable

c) Only numeric

Answer: Readable

Q59. Consider this: Python code is generally considered to be ______.

a) Readable

b) Unreadable

c) Only numeric

Answer: Readable

Q60. Regarding this concept, Python code is generally considered to be ______.

a) Readable

b) Unreadable

c) Only numeric

Answer: Readable

Q61. Which of these is a common application of Python?

a) Web development
b) Bridge construction

c) Hardware wiring

Answer: Web development

Q62. In Python, Which of these is a common application of Python?

a) Web development

b) Bridge construction

c) Hardware wiring

Answer: Web development

Q63. Consider this: Which of these is a common application of Python?

a) Web development

b) Bridge construction

c) Hardware wiring

Answer: Web development

Q64. Regarding this concept, Which of these is a common application of Python?

a) Web development

b) Bridge construction

c) Hardware wiring

Answer: Web development

Q65. Python is widely used in which area?

a) Data science

b) Airframe design

c) Oil drilling
Answer: Data science

Q66. In Python, Python is widely used in which area?

a) Data science

b) Airframe design

c) Oil drilling

Answer: Data science

Q67. Consider this: Python is widely used in which area?

a) Data science

b) Airframe design

c) Oil drilling

Answer: Data science

Q68. Regarding this concept, Python is widely used in which area?

a) Data science

b) Airframe design

c) Oil drilling

Answer: Data science

Q69. Which of these is a popular Python web framework?

a) Django

b) Laravel

c) Spring

Answer: Django
Q70. In Python, Which of these is a popular Python web framework?

a) Django

b) Laravel

c) Spring

Answer: Django

Q71. Consider this: Which of these is a popular Python web framework?

a) Django

b) Laravel

c) Spring

Answer: Django

Q72. Regarding this concept, Which of these is a popular Python web framework?

a) Django

b) Laravel

c) Spring

Answer: Django

Q73. Python files normally have which extension?

a) .py

b) .pt

c) .pyt

Answer: .py

Q74. In Python, Python files normally have which extension?

a) .py
b) .pt

c) .pyt

Answer: .py

Q75. Consider this: Python files normally have which extension?

a) .py

b) .pt

c) .pyt

Answer: .py

Q76. Regarding this concept, Python files normally have which extension?

a) .py

b) .pt

c) .pyt

Answer: .py

Q77. Which company heavily uses Python in its services?

a) Google

b) Ford

c) Coca-Cola

Answer: Google

Q78. In Python, Which company heavily uses Python in its services?

a) Google

b) Ford

c) Coca-Cola
Answer: Google

Q79. Consider this: Which company heavily uses Python in its services?

a) Google

b) Ford

c) Coca-Cola

Answer: Google

Q80. Regarding this concept, Which company heavily uses Python in its services?

a) Google

b) Ford

c) Coca-Cola

Answer: Google

Q81. From which website can you download official Python?

a) [Link]

b) [Link]

c) [Link]

Answer: [Link]

Q82. In Python, From which website can you download official Python?

a) [Link]

b) [Link]

c) [Link]

Answer: [Link]
Q83. Consider this: From which website can you download official Python?

a) [Link]

b) [Link]

c) [Link]

Answer: [Link]

Q84. Regarding this concept, From which website can you download official Python?

a) [Link]

b) [Link]

c) [Link]

Answer: [Link]

Q85. Which of these is a Python-specific IDE?

a) PyCharm

b) Visual Basic

c) Code::Blocks

Answer: PyCharm

Q86. In Python, Which of these is a Python-specific IDE?

a) PyCharm

b) Visual Basic

c) Code::Blocks

Answer: PyCharm

Q87. Consider this: Which of these is a Python-specific IDE?

a) PyCharm
b) Visual Basic

c) Code::Blocks

Answer: PyCharm

Q88. Regarding this concept, Which of these is a Python-specific IDE?

a) PyCharm

b) Visual Basic

c) Code::Blocks

Answer: PyCharm

Q89. What does IDE stand for?

a) Integrated Development Environment

b) Internal Data Editor

c) Input Data Engine

Answer: Integrated Development Environment

Q90. In Python, What does IDE stand for?

a) Integrated Development Environment

b) Internal Data Editor

c) Input Data Engine

Answer: Integrated Development Environment

Q91. Consider this: What does IDE stand for?

a) Integrated Development Environment

b) Internal Data Editor

c) Input Data Engine


Answer: Integrated Development Environment

Q92. Regarding this concept, What does IDE stand for?

a) Integrated Development Environment

b) Internal Data Editor

c) Input Data Engine

Answer: Integrated Development Environment

Q93. Which tool comes bundled with standard Python for editing?

a) IDLE

b) Notepad++

c) Eclipse

Answer: IDLE

Q94. In Python, Which tool comes bundled with standard Python for editing?

a) IDLE

b) Notepad++

c) Eclipse

Answer: IDLE

Q95. Consider this: Which tool comes bundled with standard Python for editing?

a) IDLE

b) Notepad++

c) Eclipse

Answer: IDLE
Q96. Regarding this concept, Which tool comes bundled with standard Python for editing?

a) IDLE

b) Notepad++

c) Eclipse

Answer: IDLE

Q97. Which component of IDE helps in detecting errors?

a) Debugger

b) Compiler

c) Formatter

Answer: Debugger

Q98. In Python, Which component of IDE helps in detecting errors?

a) Debugger

b) Compiler

c) Formatter

Answer: Debugger

Q99. Consider this: Which component of IDE helps in detecting errors?

a) Debugger

b) Compiler

c) Formatter

Answer: Debugger

Q100. Regarding this concept, Which component of IDE helps in detecting errors?

a) Debugger
b) Compiler

c) Formatter

Answer: Debugger

Q101. IDLE in Python is mainly used for what?

a) Writing and running Python code

b) Database design

c) Image editing

Answer: Writing and running Python code

Q102. In Python, IDLE in Python is mainly used for what?

a) Writing and running Python code

b) Database design

c) Image editing

Answer: Writing and running Python code

Q103. Consider this: Which of the following is a valid variable name?

a) student_name

b) 2student

c) student-name

Answer: student_name

Q104. Regarding this concept, Which of the following is a valid variable name?

a) student_name

b) 2student

c) student-name
Answer: student_name

Q105. Which of these is NOT a valid variable name?

a) total marks

b) _count

c) value1

Answer: total marks

Q106. In Python, Which of these is NOT a valid variable name?

a) total marks

b) _count

c) value1

Answer: total marks

Q107. Consider this: Which of these is NOT a valid variable name?

a) total marks

b) _count

c) value1

Answer: total marks

You might also like