Question: Question 3 [ 1 5 marks ] A . Give two examples that demonstrate the difference between the break and the continue keywords when used
Question marks
A Give two examples that demonstrate the difference between the break and the continue keywords when used in the block of a loop.
Marks
B Which loop in executes the code block at least once?
Mark
C Which type of loop is used when the number of iterations is known beforehand?
Mark
D Give an example of a "function signature" in C
Mark
E Write a program that displays numbers from to The program should ask the user to enter a number between and this number would be used to print stars next to any number that is divisible has no remainder by the entered number. Below shows examples of input and output for this program:Please code your solution so that it will only accept valid entries and will not crash on invalid entries. Marks
Question marks
A In an bit binary system give the value of in the following:
is complement representation
s
ii Signmagnitude representation
iii. s complement representation
Marks
B The IEEE standard for bit SinglePrecision Floatingpoint number representation is the industry standard for representing real numbers in modern computer systems, where the bits are broken down into parts, bit is the sign bit, bits is the exponent bias and bits is the mantissa. Working must be showed.
i Show the binary representation of using the IEEEbit SinglePrecision. Marks
ii Show the hexadecimal representation of the above answer. Marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
