Grade 11 Information Technology chapter 6

Welcome to your Grade 11 Information Technology chapter 6

After carefully reading the following 30 questions, choose the correct answer.

1. 
What is a set of instructions that commands a computer what to do?

2. 
Which type of programming language is directly understood by the computer hardware?

3. 
A software that translates assembly language programs into machine language is known as:

4. 
What type of error is related to violating the rules of a programming language?

5. 
A type of error related to the semantics (meaning) of a programming language is known as:

6. 
What is the extension with which Python script files are saved?

7. 
Which Python function is used to display something on the screen?

8. 
What is a sequence of characters placed under quotation marks in Python called?

9. 
Which function is used to accept input from the user in Python?

10. 
In Python, what is the default data type of the value returned by the input() function?

11. 
Which function is used to check the data type of a variable in Python?

12. 
What is the term for converting one data type into another, such as string to float?

13. 
In Python IDLE, which color is used by default for outputs?

14. 
Which color does the Python IDLE use for strings?

15. 
Which color does the Python IDLE use for functions?

16. 
What is a named location in memory used to store data in a program?

17. 
Which of the following is a floating-point number in Python?

18. 
What happens when a variable is reassigned to a different type of value in Python?

19. 
To display multiple values in one line using the print() function, values should be separated by:

20. 
Which Python operator is used for multiplication?

21. 
In Python, which operator is used for exponentiation (power)?

22. 
What is the result of the syntactically valid expression 5+6 in Python?

23. 
If a user enters "4.5" into an input() function, what must be done to use it in a mathematical calculation?

24. 
What is the output of print("Hello World")?

25. 
Which part of the computer program commands the computer what to do?

26. 
Python is an example of a:

27. 
What does the type() function return when applied to the value 10?

28. 
What does the type() function return when applied to "4.5"?

29. 
To calculate the average of two numbers, you should:

30. 
Which of the following is an example of an integer in Python?

Leave a Reply