/
Computer Science and Web Development Fundamentals
Save to my account
Sign up
Computer Science and Web Development Fundamentals
Computer Science and Web Development Fundamentals
Study
1
Question
What is the primary function of the Gogga.setGridSize(X,Y) method?
Page 1
Answer
This method establishes the dimensions of the grid used for drawing in the Gogga environment.
2
Question
How is a new Gogga instance named 'bug' created at specific coordinates?
Page 1
Answer
A new instance is created using the syntax \(\text{Gogga bug = new Gogga(X, Y, Color.RED);}\).
3
Question
What is the behavior of the .move() method in Gogga?
Page 1
Answer
The .move() method advances the Gogga bug exactly one grid space forward in its current facing direction.
4
Question
Which methods are utilized to change the orientation of the Gogga bug?
Page 1
Answer
The .turnLeft() and .turnRight() methods rotate the Gogga 90 degrees in their respective directions.
5
Question
How does the .setColor(Color.BLUE) method affect the Gogga's actions?
Page 1
Answer
This method modifies the color of the trail that the Gogga leaves behind as it moves.
6
Question
What is the purpose of the .setPosition(X,Y) method?
Page 1
Answer
This method immediately changes the current location of the Gogga to the specified X and Y coordinates on the grid.
7
Question
How is a nested loop defined in programming?
Page 1
Answer
Nested loops are defined as loops that are placed inside the body of other loops.
8
Question
What is the function of the 'import' statements in the Gogga code structure?
Page 2
Answer
Import statements, such as 'import it.Gogga;' and 'import java.awt.Color;', bring in necessary external libraries and classes into the program.
9
Question
What is the computer 'Desktop' compared to in terms of daily life?
Page 1
Answer
The Desktop is compared to a physical desk where you place your work and organize your main workspace.
10
Question
What are 'Icons' on a computer desktop?
Page 1
Answer
Icons are shortcuts that represent programs, files, or folders, allowing for quick access to them.
11
Question
What is the difference between the Taskbar and the Dock?
Page 1
Answer
The Taskbar is the bottom bar found on Windows computers, while the Dock is the equivalent bar found on Mac computers.
12
Question
What is the specific function of the mouse 'Right Click'?
Page 1
Answer
The Right Click opens a Context Menu, which is a list of options that change depending on the item being clicked.
13
Question
What are the primary viewing methods for PDFs?
Page 1
Answer
PDFs can be viewed directly in web browsers such as Chrome and Edge, or through dedicated applications like Adobe Acrobat Reader.
14
Question
What are the core components of strong password security?
Page 1
Answer
Strong password security requires using a mix of letters, numbers, and symbols, and ensuring the password is never shared with anyone.
15
Question
What actions should be taken to avoid phishing scams via email?
Page 1
Answer
To avoid phishing, be suspicious of emails requesting personal info, do not click links in suspicious messages, and verify the sender's email address legitimacy.
16
Question
What is the safety recommendation for using public Wi-Fi?
Page 1
Answer
Avoid accessing sensitive accounts like banking on free public Wi-Fi unless a VPN is used for protection.
17
Question
What functions do the window controls in the top right corner perform?
Page 2
Answer
The controls include Minimize (-) to hide to taskbar, Maximize (Square) to fill the screen, and Close (X) to exit the program.
18
Question
How does the Snap or Split Screen feature function?
Page 2
Answer
By dragging a window to the far left or right edge of the screen, it snaps to half the screen, allowing two windows to be seen side-by-side.
19
Question
What is the definition and location of OneDrive storage?
Page 2
Answer
OneDrive is Microsoft's online storage service that saves files to internet servers (the cloud) rather than just a physical hard drive.
20
Question
What are three primary benefits of using OneDrive?
Page 2
Answer
The benefits include Access Anywhere (any device), Backup protection against hardware failure, and Auto-Save functionality for Microsoft Office files.
21
Question
What is the purpose and primary function of CamScanner?
Page 2
Answer
CamScanner is a mobile app that uses a phone's camera to scan physical documents and convert them into clean PDFs or image files.
22
Question
What do the Auto-Crop and Enhance features do in CamScanner?
Page 2
Answer
Auto-Crop automatically finds the edges of the paper, while Enhance brightens the text and whitens the background for better readability.
23
Question
What is the difference between CC and BCC when sending emails?
Page 2
Answer
CC (Carbon Copy) sends visible copies to others for their information, while BCC (Blind Carbon Copy) sends copies secretly so other recipients cannot see who received it.
24
Question
What are the essential components of a professional email?
Page 2
Answer
A professional email should include the 'To' address, a 'Subject' summarizing the content, a clear 'Body' message, and any necessary 'Attachments' represented by the paperclip icon.
25
Question
What is the standard method for creating a new folder in Windows or macOS?
Page 3
Answer
The standard method is: Right-Click on an empty space, hover over New, click Folder, then immediately type a name and press Enter.
26
Question
How do you rename a folder if a mistake was made during creation?
Page 3
Answer
To rename a folder, Right-Click the specific folder and then Select Rename from the menu.
27
Question
Why is it important to include the <html> tag in HTML coding?
Page 1
Answer
The <html> tag is required to indicate the beginning and end of a web page; without it, the website might not function correctly in some browsers.
28
Question
What are the roles of the <head> and <title> elements?
Page 1
Answer
The <head> element adds webpage details and helps search engines, while the <title> provides the page title displayed in the browser tab.
29
Question
How does the <body> tag function in an HTML document?
Page 1
Answer
The <body> tag defines the main area of the web page where content is displayed and most HTML code is added.
30
Question
What is the difference between the <p> tag and the <br/> tag?
Page 1
Answer
The <p> tag marks the beginning and end of a paragraph, while the <br/> tag starts a new line without leaving the current paragraph.