Challenge your competence level in computers, computing, algorithms, hardware and software with these Computer science questions and answers.
The only possible number base for 235\(_x\) among the following is ?
3
5
4
6
Correct answer is D
A number cannot contain digits that are greater than its base.
therefore 235 can possible be in base 6.
How many bits are in one nibble ?
2
4
8
16
Correct answer is B
A nibble is a four-bit aggregation, or half an octet. It is also known as half-byte or tetrade. In a networking or telecommunication context, the nibble is often called a semi-octet, quadbit, or quartet. A nibble has sixteen (2^4) possible values
Which of the following is a valid variable name in Python?
my_variable$
my_variable
my-variable
1my_variable
Correct answer is B
Variable names in Python must start with a letter or underscore, and can only contain letters, numbers, and underscores. The other options are invalid because they either start with a number (option C) or contain a special character (option D).
Which of these criteria is not important while classifying files ?
Organization method
Nature of content in the file
Size of the file
Storage medium
Correct answer is D
While classifying files, the storage medium is not a criterion. The classification of files is based on the nature of the content in the file, the organization method, and the size of the file. The storage medium is where the file is stored, which does not affect the classification of the file
What is the shortcut for creating a new document ?
Ctrl + N
Ctrl + O
Ctrl + Q
Ctrl + M
Correct answer is A
The shortcut for creating a new document is Ctrl + N. This is a standard shortcut across many applications and operating systems