Pre-Lab Writing Assignment: 2192 - Fundamentals of Programming - Section 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Fundamentals of Programming - Section 1 - 2192

Name : Nabeel isa ID : 21910243 Home work

PRE-LAB WRITING ASSIGNMENT


______________________________________________________________________________
Fill-in-the-Blank Questions

1. What is the final value (in C++) of the following expression?


(5 - 16 / 2 * 3 + (3 + 2 / 2) - 5) -20
2. How would the following expression be written in C++?
2x + 34 2x + pow(3.0,4.0)
3. Implicit conversion is also known as data type. coercion
4. Explicit type conversion is also known as type . costing
5. List the preprocessor directive that must be included for cin and cout to be used in a C++
program. #Include<iostream>
6. Blank spaces or unseen control characters in a data file are referred to as
. Whitespace
7. The << in a cout statement is called the Insertion operator.
8. The #include< iomanip> is needed for formatted output.
. The '\n' is a special character that .9
Can be used to end a line of output

You might also like