
Exploring Computer Science and Python

Quiz
•
Computers
•
12th Grade
•
Hard
Chaitra YIASCM
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary function of an operating system?
To increase battery life
The primary function of an operating system is to manage computer hardware and software resources.
To enhance graphics performance
To provide internet connectivity
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between a process and a thread.
A process is always faster than a thread.
Threads cannot communicate with each other within a process.
A process is an independent execution unit with its own memory, while a thread is a lightweight unit of a process that shares memory with other threads.
A process is a lightweight unit that shares memory with other processes.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Python's built-in function to read a file?
open()
fetchFile()
readFile()
loadFile()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe the role of the kernel in an operating system.
The kernel stores all user data and files on the disk.
The kernel is a type of application that runs on the operating system.
The kernel manages system resources and facilitates communication between hardware and software in an operating system.
The kernel is responsible for user interface design.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a virtual memory?
To store permanent data on the hard drive.
To increase the processing speed of the CPU.
To manage network connections efficiently.
The purpose of virtual memory is to extend the available memory of a computer by using disk space to simulate additional RAM.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a function in Python?
create function_name(parameters) { function body }
function_name(parameters) => function body
function function_name(parameters) { return function body }
def function_name(parameters): # function body
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a list and a tuple in Python?
Lists are mutable; tuples are immutable.
Tuples are mutable; lists are immutable.
Lists are faster than tuples in all cases.
Lists can contain only numbers; tuples can contain any data type.
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Wiltshire General Knowledge

Quiz
•
12th Grade
15 questions
Python Basics

Quiz
•
KG - University
15 questions
Programming Basics, Unit 10 Review

Quiz
•
9th - 12th Grade
19 questions
Programming Techniques Survey

Quiz
•
8th - 12th Grade
15 questions
Comparing Python, Java, and JavaScript

Quiz
•
9th Grade - University
10 questions
CodeTigers Python 101

Quiz
•
KG - Professional Dev...
15 questions
NCCE Python Programing Final

Quiz
•
12th Grade
18 questions
SC025 3-weeks enhancement 1

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade