Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium Q1. What symbol is used for single-line comments in Python? // -- # %%
Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium Q2. What does the print() function do in Python? Takes input Shows message Stores value Makes comment
Computer Science and Entrepreneurship Python Programming Introduction To Python Programming Medium Q3. What does an IDE help with? Stores files Runs code only Writes, test, debug Makes backups
Computer Science and Entrepreneurship Python Programming Introduction To Python Programming Medium Q4. Which is NOT a step in programming? Write code Wait for bugs Compile/interpret Execute code
Computer Science and Entrepreneurship Python Programming Introduction To Python Programming Medium Q5. What is the first step in writing a program? Debugging Writing code Executing Converting
Computer Science and Entrepreneurship Python Programming Introduction To Python Programming Medium Q6. What can you use Python for? Web development only AI only Websites, data, AI Small scripts
Computer Science and Entrepreneurship Python Programming Introduction To Python Programming Medium Q7. Why is Python recommended for beginners? Hard to learn Simple syntax Only for AI Needs advanced skills
Computer Science and Entrepreneurship Introduction to Software Development Software Development Tools Medium Q8. What is the purpose of a debugger? Convert code into machine language Finds and fixes mistakes in code Edit code Manage source code repositories
Computer Science and Entrepreneurship Introduction to Software Development Software Development Tools Medium Q9. What is the main function of a compiler? Converts code into machine language Write code Debug code Manage team
Computer Science and Entrepreneurship Introduction to Software Development Software Development Tools Medium Q10. Which of the following is an example of a language editor? GCC Visual Studio Debugger Notepad++ PyCharm