Skip to main content

Computing & Informatics - short answer type questions from AMIE exams

What is the octal equivalent of the decimal number 1000?

(1000)10 = (1750)8

Step by step solution

Step 1: Divide (1000)10 successively by 8 until the quotient is 0:

1000/8 = 125, remainder is 0
125/8 = 15, remainder is 5
15/8 = 1, remainder is 7
1/8 = 0, remainder is 1

Step 2: Read from the bottom (MSB) to top (LSB) as 1750.


What will be the output of the following logic circuit when A, B and C are 1, 0 and 0 respectively.


The output will be 1.

Name the input device that can help a computer to read printed documents.
Scanner with an OCR software

If more than one printer has been attached to a computer, how can you direct your output to a specific printer?
Go to networked places and choose a specific printer. Then give print command from document to be printed.

What is the range of numbers that can be assigned to a variable declared as an unsigned integer?
0 to 4294967295

What will be the output generated by the following code?
ink k = 5;
ink i = 0;
if (k) i ++;
cout << i
The output will be 1.

What output will be generated?
char c = ‘A’;
int i;
for (i = 0; i < 3 i++)
cout << c++;
The output will be BCD.

What will be the implication if data members of a class are declared as public members?
Public means all the class members declared under public will be available to everyone. The data members and member functions declared public can be accessed by other classes too. Hence there are chances that they might change them. So the key members must not be declared public.

What will be the output of the following data?
int x [ ] = {3, 5, 8};
cout <<*x;
cout <<* (x + 1);
Output will be 3, 5

Why is the following code illegal?
int x [ ] = {2, 4, 6};
cout <<*x;
cout <<* px ++;
The array name is a pointer constant hence we can not increment it. Only a pointer variable can be incremented.

---
The study material for AMIE/B Tech/Junior Engineer exams is available at https://amiestudycircle.com

Comments

Popular posts from this blog

Mechanics of Fluids (Solved Numerical Problems)

Numerical The surface Tension of water in contact with air at 20°C is 0.0725 N/m. The pressure inside a droplet of water is to be 0.02 N/cm² greater than the outside pressure. Calculate the diameter of the droplet of water. (7 marks) (AMIE Summer 2023) Solution Surface tension, σ = 0.0725 N/m Pressure intensity, P = 0.02 N/m 2 P = 4σ/d Hence, the Diameter of the dropd = 4 x 0.0725/200 = 1.45 mm Numerical Find the surface tension in a soap bubble of 40 mm diameter when the inside pressure is 2.5 N/m² above atmospheric pressure. (7 marks) (AMIE Summer 2023) Answer: 0.0125 N/m Numerical The pressure outside the droplet of water of diameter 0.04 mm is 10.32 N/cm² (atmospheric pressure). Calculate the pressure within the droplet if surface tension is given as 0.0725 N/m of water. (AMIE Summer 2023, 7 marks) Answer: 0.725 N/cm 2   Numerical An open lank contains water up to a depth of 2 m and above it an oil of specific gravity 0.9 for a depth of 1 m. Find the pressure intensity (i) at t...

Design of Electrical Systems (Solved Numerical Problems)

Important note There is something wrong with this question paper. It seems that instead of "Design of Electrical Systems" the IEI has given problems from "Electrical Machines". You should raise a complaint to director_eea@ieindia.org in this regard. Numerical A 120 V DC shunt motor draws a current of 200A. The armature resistance is 0.02 ohms and the shunt field resistance is 30 ohms. Find back emf. If the lap wound armature has 90 slots with 4 conductors per slots, at what speed will the motor run when flux per pole is 0.04 Wb?​ (AMIE Summer 2023, 8 marks) Solution The back EMF (E b ) of a DC motor can be calculated using the formula: E b = V - I a R a   Given: V = 120 V I a = 200 A R a = 0.02 ohms Substituting the values into the formula: E b = 120 − 200 × 0.02 = 120 − 4​ = 116 V Now, let's calculate the speed (N) at which the motor will run using the given flux per pole (φ p ). The formula to calculate the speed of a DC motor is: N = 60×E b /(P×φ p ) Wh...

Energy Systems (Solved Numerical Problems)

Wind at 1 standard atmospheric pressure and \({15^0}C\) has velocity of 15 m/s, calculate (i) the total power density in the wind stream (ii) the maximum obtainable power density (iii) a reasonably obtainable power density (iv) total power (v) torque and axial thrust Given: turbine diameter = 120 m, and turbine operating speed = 40 rpm at maximum efficiency. Propeller type wind turbine is considered. (AMIE Winter 2023) Solution For air, the value of gas constant is R = 0.287 kJ/kg.K 1 atm = 1.01325 x 105 Pa Air density \(\rho  = \frac{P}{{RT}} = \frac{{1.01325x{{10}^5}}}{{287}}(288) = 1.226\,kg/{m^3}\) Total Power \({P_{total}} = \rho A{V_1}^3/2\) Power density \(\begin{array}{l}\frac{{{P_{total}}}}{A} = \frac{1}{2}\rho {V_1}^3\\ = \frac{1}{2}(1.226){(15)^3}\\ = 2068.87{\mkern 1mu} W/{m^2}\end{array}\) Maximum power density \(\begin{array}{l}\frac{{{P_{\max }}}}{A} = \frac{8}{{27}}\rho A{V^3}_1\\ = \frac{8}{{27}}(1.226){(15)^3}\\ = 1226{\mkern 1mu} W/{m^2}\end{array}\) Assuming eff...