Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 19 define, include and return are examples of O datatypes O reserved words O identifiers o comments QUESTION 20 Suppose that a and b

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
QUESTION 19 define, include and return are examples of O datatypes O reserved words O identifiers o comments QUESTION 20 Suppose that a and b are two variables of type int a - 17 and b=5 the result of a %b will be 0 2 5 G7 QUESTION 17 Which of the following expressions is a valid (correct) C condition: O ((num + 2) s 10) O ((num + 2 )* 10 ) O ((num + 2 ) == 10 ) O ((num + 2) = 10 ) QUESTION 18 An example of valid (correct) identifier low&high 02Low3High 2LowHigh Low High2 QUESTION 15 operator Il yields a FALSE result only when O Both its operands are false O At least one of its operands is false Both its operands are true o One of its operands is false QUESTION 16 In scanf. "%lf" is used with variables of type o char float double int QUESTION 13 Which of the following does not require a semicolon (;) at the end? O printf function O assignment statement return statement Header of the function main QUESTION 14 They have special meaning to C and cannot be used for other purposes Pseudocode Reserved words Debuggers Comments QUESTION 11 switch is an example of a Selection control structure in C-language. Repetition Sequential undefined QUESTION 12 scanf("%lf", &x); is an example of preprocessor directive command assignment statement input function arithmetic expression QUESTION 9 An example for input/output function: O define return scanf double QUESTION 10 (M+N)/(P+Q) is an example of declaration statement ka arithmetic expression input/output statement preprocessor directive command QUESTION 7 Which is TRUE about Assembly language: It is a collection of binary numbers It is far from the human language but close to the machine language O It is far from the machine language but close to the human language Examples of Assembly language are Pascal C and C++ QUESTION 8 An example of arithmetic expression scanf("%f" &height), printf("%d" width); couble h w AB-C QUESTION 5 Which of the following is the correct C condition equivalent to the statement mark is above 100 or less than 0 0 (0 > mark > 1000 ) o (mark > 100 && mark 100 || mark 90)) T = 150 else if( (R> 80 ) && (S

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_2

Step: 3

blur-text-image_3

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

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions