Practice MCQs

Filter by course context, attempt questions, and get an instant score report.

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q1. What is the output of the code? age = 25; print('Age:', age)

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q2. Which of the following is a valid variable name in Python?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q3. What should you do when installing Python to run it from the command line easily?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q4. Which of the following steps is NOT part of the basic programming process?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q5. How do you take decimal number input from the user?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q6. Which function changes text input into a number?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q7. What does the input() function do?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q8. What type of data is stored in name = "amna"?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q9. Which of the following is a valid variable name?

Computer Science and Entrepreneurship Python Programming Basic Python Syntax and Structure Medium

Q10. What is a variable in Python?

Showing 81 to 90 of 151 results
Page 9 of 16