1) What is the primary purpose of a "for" loop in Python? a) It defines a function b) It makes a decision c) To repeat a block of code a specified number of times d) It declares a variable 2) Which of the following is NOT a valid data type in Python? a) Integer b) String c) Boolean d) Float Point 3) What is the output of the following code? a) 2.5 b) 2 c) 2.0 d) 2.5 (as a string) 4) In Python, which operator is used for exponentiation? a) ^ b) ** c) * d) // 5) What does the "if" statement do in Python? a) Repeats a block of code a specific number of times b) Declare a variable c) Executes a block of code only if a condition is true d) Prints a message to the screen 6) What component of a computer is responsible for storing data and programs permanently? a) RAM b) CPU c) Hard Drive (HDD or SSD) d) Motherboard 7) Which of the following is not a type of computer memory? a) RAM b) ROM c) CPU d) Cache 8) What does CPU stand for in computer hardware? a) Central Processing Unit b) Computer Programming Unit c) Central Power Unit d) Central Program Unit 9) Which type of monitor technology generally provides the best color accuracy and viewing a) LCD b) OLED c) CRT d) LEDs 10) What is the function of a GPU (Graphics Processing Unit) in a computer? a) It store data permanently b) To perform calculations and control the overall computer operation c) To render graphics and accelerate video playback d) To provide power to the computer components
0%
Python Programming / Computer Hardware 9G3
共享
共享
共享
由
Antonioakue
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?