Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

based systems .a) Characters and numbers are represented by 32 bit binary code in present day C b) %f specifies integer variables c) Operating System

image text in transcribed

based systems .a) Characters and numbers are represented by 32 bit binary code in present day C b) %f specifies integer variables c) Operating System programs are contained in system Random Access d) Division operation has lower priority over addition operation Read Write Memory .e) Loader converts the higher level language to machine code ,f) in C language, variables can be declared before preprocessor directives, for convenience QUESTION 2Answer the following clearly: .(a ) Variables num 1-56, num2s 12, num 3-78, num31, sum 12, sum34, dif12 and dif34 are all integers; Variables idiv12, idiv34 are integers and fdiv12, fdiv34 are floating point. Using same values for num1, what are the values of idiv12 and fdiv34[ to second decimal accuracy]? num2, num3, num4 idiv12 = (num1um2) idiv34 = (num3um4); fdiv12 (float) num1um2; fdiv34 = (float) num3um4 ajidiv12- fdiv34 (b) Which is more accurate value idiv12 or fdiv34? Why? Which is more faster computation? (b) Which is more accurate why. Which is more faster--- Why-- Are the following statements valid? If not what is missing? Assume variables are already defined. c) scanf ("%d%d", num1, num2) If invalid, what is correct form c) Valid or invalid .d) if (x 10) product-x'x d) valid or invalid if inval lid, what is correct form

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

1. How might volunteering help the employer and the employee?

Answered: 1 week ago