Questions: 856

Answers by our Experts: 763

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering



Why Is Method main Declared static?


State whether each of the following is true or false. Explain why.

a. The default case is required in the switch selection statement.

b. The break statement is required in the last case of a switch selection statement.

c. The expression ( (x > y) && (a < b ) ) is true if either x > y is true or a < b is true.

d. An expression containing the || operator is true if either or both of its operands are true.

e. The comma (,) formatting flag in a format specifier (e.g., %,20.2f) indicates that a value should be output with a thousands separator.

f. To test for a range of values in a switch statement, use a hyphen () between the start and end values of the range in a case label.

g. Listing cases consecutively with no statements between them enables the cases to perform the same set of statements.


a) Discuss the files systems that are supported in Windows and the devices that are supported in these

file systems.


b) Write a C/C++ system program to read text from a file in the Windows file system, and print the

text to the screen. Compile and run the program and copy the source code into your answer booklet.


c) Discuss the Windows registry and its use and interpret the following registry keys:

i. HKEY_LOCAL_MACHINE

ii. HKEY_USERS

iii. HKEY_CLASSES_ROOT

iv. HKEY_CURRENT_USER


State whether each of the following is true or false. Explain why.

  1. The default case is required in the switch selection statement.
  2. The break statement is required in the last case of a switch selection statement.
  3. The expression ( (x > y) && (a < b ) ) is true if either x > y is true or a < b is true.
  4. An expression containing the || operator is true if either or both of its operands are true.
  5. The comma (,) formatting flag in a format specifier (e.g., %,20.2f) indicates that a value should be output with a thousands separator.
  6. To test for a range of values in a switch statement, use a hyphen () between the start and end values of the range in a case label.
  7. Listing cases consecutively with no statements between them enables the cases to perform the same set of statements.

A particle of mass M1 moving with initial velocity  is incident on a stationary particle of mass M2.After collision, M1 was deflected through an angle  and M 2 an angle .If the velocity of the particles after collision were  and  respectively.Show that for an elastic collision;

(a)    = 2


(b)   =2 +



(c)    =


Here is an array of 10 integers. 5 3 8 1 7 0 2 6 4. Draw this array after the first iteration of the large loop in a selection sort (Sorting from smallest to largest)


Because of the novel Corona virus, the government of Ghana has tripled the salary of frontline  workers. Write a Qbasic program to triple the worker’s salary. 


Hint: The program would take the worker’s salary as input.




Write a Qbasic program to triple the salary of workers


1 explain the term computer virus 

2 give 5 examples of antivirus applications

3 mention instances of how computer viruses are spread

4 symptoms of computer virus



State whether each of the following is true or false. Explain why.

a. The default case is required in the switch selection statement.

b. The break statement is required in the last case of a switch selection statement.

c. The expression ( (x > y) && (a < b ) ) is true if either x > y is true or a < b is true.

d. An expression containing the || operator is true if either or both of its operands are true.

e. The comma (,) formatting flag in a format specifier (e.g., %,20.2f) indicates that a value should be output with a thousands separator.

f. To test for a range of values in a switch statement, use a hyphen () between the start and end values of the range in a case label.

g. Listing cases consecutively with no statements between them enables the cases to perform the same set of statements.


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS