1.
What is a file extension?
Correct Answer
A. A file extension (or simply "extension") is the suffix at the end of a filename that indicates what type of file it is
Explanation
A file extension is the suffix at the end of a filename that indicates what type of file it is. It is a way to identify the format or structure of a file, allowing the operating system or software to understand how to handle and open the file. By looking at the file extension, users can quickly determine what kind of data is stored in the file and which program should be used to access it.
2.
What is the file extension for python?
Correct Answer
C. .py
Explanation
The correct answer is .py. The file extension for Python files is .py, which indicates that the file contains Python code. This extension is used by Python interpreters to identify and execute Python scripts.
3.
What does HTML stand for ?
Correct Answer
D. Hypertext Markup Language
Explanation
HTML stands for Hypertext Markup Language. It is the standard markup language used for creating web pages and applications. HTML uses tags to structure the content and define the layout of a webpage. It allows for the inclusion of various media such as images, videos, and links. Hypertext refers to the ability to link different webpages together through hyperlinks. Markup language refers to the use of tags to define the structure and presentation of the content. Therefore, the correct answer is Hypertext Markup Language.
4.
How many hours do you need to master a skill?
Correct Answer
A. 10,000 hours
Explanation
The answer "10,000 hours" suggests that it takes a significant amount of time and effort to master a skill. This concept is based on the theory proposed by psychologist Anders Ericsson, who argued that deliberate practice for around 10,000 hours is necessary to become an expert in any field. This answer implies that mastery requires consistent and focused practice over a long period of time, rather than just a few hours or days.
5.
What is the function to get output to the user in python?
Correct Answer
B. Print
Explanation
The correct answer is "print". In Python, the "print" function is used to display output to the user. It is used to print text, variables, or any other information that needs to be displayed on the console. It is a built-in function in Python and is commonly used for debugging or displaying information during program execution.
6.
What is the function to get input from the user in python
Correct Answer
D. Input()
Explanation
The correct answer is "input()". In Python, the input() function is used to get input from the user. It prompts the user to enter a value and returns the input as a string. This function is commonly used when you want to interact with the user and receive input to be used in your program.
7.
When you type printf("hi I am Jane doe") in python IDLE you get an output .
Correct Answer
B. False
Explanation
When you type `printf("hi I am Jane doe")` in Python IDLE, you will get a syntax error because `printf` is not a valid function in Python. The correct function to use for printing in Python is `print()`. Therefore, the correct answer is False.
8.
Print( a+b =c)
a = 6
b =5
Correct Answer
11
Explanation
The given code is printing the sum of variables a and b, which are assigned the values 6 and 5 respectively. Therefore, the output of the code will be the sum of 6 and 5, which is 11.
9.
What does the file extension exe stand for?
Correct Answer
C. Executable
Explanation
The file extension "exe" stands for executable. This means that the file is a program or application that can be run on a computer. When the file is opened or executed, it performs a specific task or set of instructions.
10.
What's the shortcut to notepad
Correct Answer
B. Flag + run + notepad
Explanation
The correct answer is "flag + run + notepad" because when you press the Windows key (flag) and the R key together, it opens the "Run" dialog box. Then, typing "notepad" in the dialog box and pressing Enter will open the Notepad application.