1.
What does https stand for ?
Correct Answer
A. Hypertext Transfer Protocol Secure
Explanation
HTTPS stands for Hypertext Transfer Protocol Secure. It is a secure version of the HTTP protocol used for communication over the internet. The use of HTTPS ensures that the data transmitted between a web browser and a website is encrypted and secure, protecting it from unauthorized access and potential threats.
2.
What is the python extension?
Correct Answer
A. .py
Explanation
The correct answer is ".py". In Python, the extension ".py" is used for Python source code files. This extension helps identify the file as a Python script and allows the interpreter or the IDE to recognize and execute the code correctly.
3.
What is programming?
Correct Answer
A. Set of instruction given to a computer to complete a task
Explanation
Programming refers to the process of creating a set of instructions or commands that are given to a computer in order to perform a specific task. These instructions can be written in various programming languages and are executed by the computer to produce the desired output. Therefore, the correct answer is "Set of instruction given to a computer to complete a task."
4.
What are some examples of text editors
Correct Answer
B. Notepad, sublime, vscode, vim, sublime, vscode, vim, emacs
Explanation
The correct answer includes a list of text editors such as notepad, sublime, vscode, vim, and emacs. These are all examples of software programs that allow users to create and edit text-based documents.
5.
What's the shortcut to open a notepad?
Correct Answer
A. + R (Notepad)
Explanation
The correct answer is + R (Notepad). This shortcut opens the Run dialog box, where you can type "notepad" and press Enter to open Notepad. The other options mentioned (flag + notepad, flag + p, flag + notepad++) are not valid shortcuts to open Notepad.
6.
What does IDLE stand for?
Correct Answer
A. Integrated Development and Learning Environment
Explanation
IDLE stands for Integrated Development and Learning Environment. This is a software tool that provides an integrated development environment for writing, testing, and debugging Python programs. It also includes features for learning and teaching Python programming. Therefore, the correct answer is "Integrated Development and Learning Environment".
7.
What is the function to get output to the user in python?
Correct Answer
A. Print()
Explanation
The correct function to get output to the user in Python is print(). This function is used to display information on the output console. It takes one or more arguments and prints them as output. The other options, printf() and cout
8.
What is the function to input from the user in python
Correct Answer
A. Input()
Explanation
The correct answer is "input()". In Python, the "input()" function is used to take input from the user. It prompts the user to enter a value and returns it as a string. This function is commonly used when you want to interact with the user and get input dynamically during program execution.
9.
Hour many hours do you need to master a skill?
Correct Answer
A. 10,000 hrs
Explanation
The answer is 10,000 hrs because it is widely believed that it takes approximately 10,000 hours of deliberate practice to master a skill. This concept was popularized by Malcolm Gladwell in his book "Outliers," where he discussed the "10,000-hour rule" and how it applies to achieving expertise in various fields. Therefore, the correct answer is 10,000 hrs.
10.
What is a variable in programming?
Correct Answer
A. A storage or container where a computer allocates memory
Explanation
A variable in programming is a storage or container where a computer allocates memory. It is used to store and manipulate data during the execution of a program. Variables can hold different types of data such as numbers, strings, or boolean values, and their values can be changed throughout the program. By allocating memory to variables, the computer can efficiently manage and access data when needed.