Font size
WorksheetsTheoretical Outline & GIMP Basics
Total questions: 83
Worksheet time: 42mins
Which statement best distinguishes data from information in a scientific investigation?
Data are final reports; information is unprocessed numbers
Data are explanations; information is prior assumptions
Data are conclusions; information is collected samples
Data are raw measurements; information is interpreted meaning
In GIMP, which menu is typically used first to create a new image file?
View menu Zoom command
Select menu All command
Edit menu Paste command
File menu New command
A student wants to save an edited microscopy image in GIMP without overwriting the original. Which action is most appropriate?
Use View Show Layers toggle
Use Select None to clear selection
Use Edit Undo repeatedly
Use File Save As with a new filename
Why is layer management important when labeling structures on a cell diagram in GIMP?
Layers lock all elements to prevent movement
Layers merge colors to reduce artifacts
Layers increase file size for higher quality
Layers keep labels separate for easy editing
You created a selection around a chloroplast but need to move it slightly. Which GIMP tool should you use to reposition the selection’s contents?
Text tool to annotate region
Transform tool to change color
Move tool to drag selected area
Crop tool to resize canvas
Which command in GIMP inverts the current selection?
Delete
Exit\Shrink
Select\Invert
Select\None
Which command removes the active selection entirely?
Transform tool
Grow selection
Select\Invert
Select\None
What command converts a selection to a path?
Fill Path
Move Tool
Stroke Path
Select\To Path
Which command applies an outline along an existing path?
Select\Invert
Stroke Path
Fill Path
Select\None
Which command fills the interior of a path with color?
Stroke Path
Fill Path
Grow selection
Select\Invert
What is the function of the eye icon on the left of a layer in the Layers panel?
Create a new layer
Toggle layer visibility
Lock layer pixels
Duplicate the layer
After converting a selection to a path, which command lets you adjust the path’s placement relative to the image?
Select\None
Move Tool on path
Delete key
Select\Invert
Which steps correctly outline the process to stroke a path with a 5‑pixel line?
Choose Stroke Path, set width 5 px
Press Delete, width 5 px
Open Fill Path, set width 5 px
Use Select\Invert, width 5 px
Which command shrinks or expands a selection boundary?
Fill Path
Stroke Path
Select\None
Exit\Shrink or Grow
To move from a path back to a selection around the same shape, which command should be used?
Select\Invert
Path to Selection
Fill Path
Delete
When preparing a composite image with multiple layers, why might you toggle visibility on some layers while stroking a path?
To convert the path to a selection
To lock all layers for safety
To sharpen path corners automatically
To avoid affecting hidden layers appearance
What does an alpha channel represent in an image layer?
Hue rotation for selected areas
Transparency information per pixel
Brightness range of highlights
Color saturation of pixels
Which menu action adds transparency capability to a layer in GIMP?
Layer Add Alpha Channel
Image Add Transparency Map
Select Enable Alpha Pixels
Filters Create Transparent Layer
Before removing a background, what should you confirm about the target layer?
It has an alpha channel added
It is locked against edits
It is set to grayscale mode
It uses a color profile
Which tool is best for tracing around an object to extract it from the background?
Free Select (Lasso) tool
Rectangle Select tool
Move tool for positioning
Crop tool for trimming edges
After finishing a Free Select outline, what completes the selection?
Press Enter to confirm selection
Switch to Move tool immediately
Change feathering to zero
Hide the active layer temporarily
Which step removes the selected background while keeping the object?
Invert selection then delete
Scale image then export
Feather selection then duplicate
Merge layers then crop
What visible result indicates an image has transparency after deletion?
Uniform cyan overlay
Black matte background
Gray checkerboard pattern
Solid white fill appears
Which operation transfers a selection shape into alpha transparency on the same layer?
Layer Mask Apply
Edit Fill with Foreground
Select Save to Channel
Layer Transparency Alpha to Selection
Why is adding an alpha channel necessary before deleting a background?
To sharpen edges during selection
To change color model to RGBA
To allow transparent pixels to exist
To enable non-destructive editing
Which sequence correctly outlines a basic background removal workflow?
Add mask, hide layer, rotate canvas
Open image, change mode, apply blur
Crop image, duplicate layer, export PNG
Add alpha, select object, invert, delete
If the object’s edges look jagged after deletion, which adjustment helps most?
Increase feather before confirming
Switch to indexed color mode
Disable antialias in preferences
Lower layer opacity globally
Python is classified as which type of programming language?
High-level language
Machine language
Low-level language
Assembly language
Which statement about case sensitivity in Python is correct?
Identifiers are case sensitive
Identifiers ignore letter case
Only variables are case sensitive
Only functions are case sensitive
In Python, which syntax correctly prints the text hello world to the screen?
echo('hello world')
cout<<'hello world'
System.out.print('hello world')
print('hello world')
What is a key advantage of high-level languages like Python?
Closer to natural language
Require manual memory management
Harder to read and write
Tied to specific hardware
Which environment executes each line immediately and shows results right away?
Compiled executable binary
Script file executed later
Batch processor mode
Python Shell (interactive mode)
Which is true about Script mode compared to the Python Shell?
Executes one line at a time
Runs a saved file all at once
Shows no output at all
Cannot be saved to disk
Select the correct statement about Python's print() function.
Compiles code into bytecode
Displays values to standard output
Reads input from the keyboard
Writes files to disk storage
Which code will print Xin chao exactly once?
print Xin chao
read('Xin chao')
print('Xin chao')
cout<<'Xin chao'
Given a=1, b=2, c=3, d=4, what does print(a+b+c+d) output?
a+b+c+d
10
1234
9
Which statement about Python compared to low-level languages is accurate?
Always faster than machine code
Harder for beginners to read
Requires hardware-specific coding
Easier to learn and use
Which of the following is NOT valid Python print syntax?
print(text)
print('text' 'more')
print("text")
print('text')
Why is Python commonly used for beginners?
Simple syntax and readability
Mandatory pointer arithmetic
Complex compilation steps
Opaque error messages
Which statement best describes the difference between high-level and low-level languages?
High-level are closer to human language
High-level run directly on hardware
Low-level need interpretation only
Low-level are easier for humans
Phát biểu nào sau đây là đúng khi nói về biến?
Biến là đại lượng bất biến.
Biến là đại lượng được đặt tên, dùng để lưu trữ giá trị và giá trị có thể được thay đổi trong quá trình thực hiện chương trình.
Biến là đại lượng được đặt tên, dùng để lưu trữ giá trị và giá trị không thay đổi trong quá trình thực hiện chương trình.
Biến là đại lượng không thay đổi trong quá trình thực hiện chương trình.
Trong bài toán giải phương trình ax+b=0 có các biến là?
Không có biến.
a, b, x
x
a, b
Cho đoạn chương trình sau: x=1 print(x) Biến trong đoạn chương trình trên là:
x
1, x
Không có biến.
1
Cho đoạn chương trình sau: y=10 print(y) Giá trị của biến y trên màn hình là:
1
10
0
y
Trong những biến sau, biến nào đặt đúng quy tắc?
a@b
12xy
xy
X y
Câu lệnh gán trong Python là:
Biến==
Biến:<=Biểu thức>
Biến<=Biểu thức>
Phép gán nào sau đây là đúng?
x:=3
x=3
x:3
x==3
Phép chia lấy phần nguyên trong Python kí hiệu là:
%
//
Div
/
Phép chia lấy phần dư trong Python kí hiệu là:
//
/
%
Mod
Phép lũy thừa 24 trong Python viết là:
2**4
2****4
2*4
2***4
Biểu thức (x+y)2 chuyển sang Python là:
(x+y)*2
(x+y)**2
(x**2+y**2)
(x+y)*2
Cho đoạn chương trình sau: x=6 y=2 print(x//y) Trên màn hình xuất hiện giá trị:
0
3
2
6
Cho đoạn chương trình sau: x=6 y=2 print(x%y) Trên màn hình xuất hiện giá trị:
2
3
0
6
Which Python data type represents whole numbers without decimals?
bool
int
float
str
What is the output type of input() before any conversion?
str
int
float
bool
Which function converts a numeric string like '42' to an integer?
int('42')
float('42')
str('42')
abs('42')
Which function converts '3.14' to a floating‑point number?
float('3.14')
int('3.14')
str(3.14)
abs('3.14')
Which expression correctly uses math.sqrt to compute the square root of 16?
math.sqrt(16.0,2)
math.sqrt(16)
sqrt(16)
math.sqrt('16')
What does abs(-5) return?
0
True
-5
5
Which statement prints the type of variable a in Python?
type(print(a))
print(type)
print(a.type)
print(type(a))
After executing a=3.4, what is the data type of a?
str
bool
int
float
Which line reads an integer from keyboard and stores it in n?
n=float(input())
n=str(input())
n=input(int())
n=int(input())
Which line reads a float from keyboard and stores it in b?
b=float(input())
b=str(input())
b=input(float())
b=int(input())
Which statement will print two variables x and y separated by space?
print([x,y])
print('x y')
print(x+y)
print(x,y)
A constant in a program is best described as which of the following?
A value that does not change
A name that always changes
A type that stores strings
A function that prints values
What is the result of int(3.9)?
3.9
3
Error
4
Which import is required before using math.sqrt?
import math
import numbers
from abs import math
import sqrt
What is the output of the code: a=16; x=math.sqrt(a); print(x)?
4.0
3.0
6.0
5.0
Given a=16 and b=17, what does abs(a-b) evaluate to?
0
-1
33
1
Which expression correctly concatenates two strings s and t?
s*t
s/t
s-t
s+t
What happens if you call int('3.5')?
Returns 4 after rounding
ValueError is raised
Returns 3.5 as float
Returns '3.5' unchanged
Which option best describes input() when reading numbers?
Returns text that needs conversion
Returns a boolean
Returns an integer automatically
Returns a float automatically
Which function gives the magnitude of a number regardless of sign?
abs()
int()
type()
float()
Read the passage in the image and determine which statement is true: Python is described as a high-level language with simple syntax that is easy for beginners to learn.
False due to complex syntax
True but only for experts
False and contradicted in text
True as stated in the passage
According to the text, which domain is Python widely used in besides web and automation?
Data science and AI
Only mobile apps
Hardware microcoding
Exclusive game engines
Which statement best matches the passage: Python supports many useful libraries that assist development.
Accurate if no internet
Accurate only for C++
Inaccurate per the passage
Accurate per the passage
Choose the correct claim from the text: Readability helps developers save time in debugging.
Correct and emphasized
Incorrect due to verbosity
Incorrect and denied
Correct only for novices
Which option matches the passage idea: High-level languages let developers focus on logic rather than hardware details.
Only true for compilers
Only true for assembly
Contradicts the idea
Matches the main idea
Select the accurate statement from the text: The Python community provides abundant learning resources and support for beginners.
Accurate only for experts
Accurate as described
Contradicted by text
Not mentioned at all
Write a short Python program that prints Hello, world! and then calculates the greatest common divisor (GCD) of two integers entered by the user.
Provide code using input and math.gcd
Describe community resources only
Explain GIMP selection tools
State Python is high-level
Which step is correct when creating a stroke (outline) around a selection in GIMP?
Select, Edit > Stroke Selection
Create new layer then crop
Open Filters > Blur only
Use Move tool to paint
What is a basic operation with a selection in GIMP?
Install web frameworks
Export code as executable
Compile a Python package
Add to or subtract from selection
Which statement aligns with the passage: Python enables efficient software development due to its readability and rich libraries.
Aligned with passage claims
Misaligned and refuted
Aligned only for web apps
Aligned if libraries are absent
