Reference no: EM13947953
1. Which of the following are invalid variable names and why?
Interestpaid
AVERAGE
123
FLOAT
2. Point out the errors, if any, in the following c statements
int = 314.562*150;
name = 'AJAY';
3.14*r*r = area;
area = 3.14*r**2;
3. Pick up the correct alternative for each of the following questions
A. C language has been developed by
1. Ken Thompson
2. Dennis Ritchie
3. Peter Norton
4. Martin Richards
B. C language has been developed at
1. Microsoft Corp.,USA
2. AT & T Bell Labs ,USA
3. Borland International , USA
4. IBM,USA
C. C language came in exixtence in the year
1. 1971
2. 1957
3. 1972
4. 1983
D. Which statement is wrong
1. mes = 123.56;
2. con = 'T' * 'A';
3. this = 'T' * 20;
4. 3+a = b;
Write down the flowchart and a program.
1. While purchasing certain items, a discount of 10% is offered if the quantity purchased is more than 1000. If quantity and price per item are input through the keyboard. Calculate the total expenses.
2. Ramesh's basic salary is input through the keyboard . His dareness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Calculate his gross salary.
Differentiate between oscillation and damp cobweb model
: Differentiate between oscillation and damp cobweb model
|
Calculate the diffusion coefficient
: 1. The activation energy for the diffusion of cop- per in silver is 193,000 J/mol. Calculate the diffusion coefficient at 1200 K (927°C), given that D at 1000 K (727°C) is 1.0 X 10-14 m2/s.
|
How far do you have to go to come into contact with poverty
: If there actually is no hidden poverty in your community, how wide do you have to cast your net to encounter poverty? Outside the city limits? Outside your county? Further? How far do you have to go to come into contact with poverty
|
A foreign government enters into a contract with a us
: A foreign government enters into a contract with a US company to provide computer equipment and services for the intelligence arm of its military forces. After the equipment has been supplied, the foreign government refuses to pay. The US company fil..
|
Calculate the total expenses if quantity and price per item
: While purchasing certain items, a discount of 10% is offered if the quantity purchased is more than 1000. If quantity and price per item are input through the keyboard. Calculate the total expenses. Ramesh's basic salary is input through the keyboard..
|
How foreign persons are taxed on income generated in u.s.
: Examine at least three categories of U.S. sourced income that will generate U.S. taxes for your client - Analyze the source rules reach of the U.S. Tax Code in regard to international taxation.
|
A two-year incontestable clause
: Martin and Williams, two business partners, agreed that each would insure his life for the benefit of the other. On his application for insurance, Martin stated that he had never had any heart trouble when in fact he had had a mild heart attack some ..
|
Driving force for steady-state
: What is the driving force for steady-state known that the concentration of nitrogen in the steel at the high-pressure surface is 2 kg/m3. How far into the sheet from this high pressure side will the concentration be 0.5 kg/m3? Assume a linear con..
|
Add a title to the grade chart.
: Go to the bottom of your spreadsheet, and select Sheet 2. Click on a cell within that sheet.
|