Skip to main content

Computing & Informatics - short answer type questions from AMIE exams

Evaluate the following C expression, and explain your answer:
5 + 2/3 *5 - 4/3 
5 + 2/3*5 – 4/3 = 5 + 0*5 – 1 = 4

Name two application layer protocols.
TELENET, SMTP

What are the typical sizes of the main memory and hard disk of a modern desktop computer?
Main memory = 4, 8 GB DRAM
Hard disk = 500 GB , 1 TB

Is a two-dimensional array passed as a value or reference argument to a function? Explain your answer by writing a function prototype illustrating this.
The two-dimensional array passed as a reference argument to a function.

Define a C structure named str that has integer i, an integer array of size 10 called arr, and a character c as its members.
struct str
{
int i;
int arr [10];
char c;
}


The size of the address bus and data bus of a CPU is 16 bits and 32 bits, respectively. What can be said about the size of its internal registers and address space?
Size of internal registers = 32 bits
Address space = 2¹⁶ = 64 K


What is the full form of SMTP? For what application is it used?
Simple Mail Transfer Protocol. Used for email.


Mention two advantages of a DBMS over file storage of data.
Controlling Data Redundancy, Sharing of Data, Data Consistency etc.

What is a foreign key in an RDBMS?
A foreign key is a column or group of columns in a relational database table that provides a link between data in two tables. It acts as a cross-reference between tables because it references the primary key of another table, thereby establishing a link between them.

What is the binary representation of 0.125 (decimal)?
0.125 (decimal) = 0.001 (binary)

Step 1: We multiply 0.125 by 2 and take the integer part
0.125 x 2 = 0.250
Integer part = 0
Fractional part = 0.250
As the fractional part is not equal to 0 so we copy it to the next step.

Step 2: We multiply 0.250 by 2 and take the integer part
0.250 x 2 = 0.500
Integer part = 0
Fractional part = 0.500
As the fractional part is not equal to 0 so we copy it to the next step.

Step 3: We multiply 0.500 by 2 and take the integer part
0.500 x 2 = 1.000
Integer part = 1
Fractional part = 0
Now the fractional part is 0 so, we stop here.

Step 4: The calculated integer part is as followed.
Step 1: 0
Step 2: 0
Step 3: 1

To find the binary we have to scan the integer part from top
So, 0.125 (decimal) = 0.001 (binary)

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

Comments

Popular posts from this blog

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...

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...

Geotechnical & Foundation Engineering (Solved Numerical Problems)

Numerical A 1000 cc core cutter weighing 946.80 g was used to find out the in-situ unit weight of an embankment. The weight of the core cutter filled with soil was noted to be 2770.60 g. Laboratory tests on the sample indicated a water content of 10.45 % and specific gravity of solids of 2.65. Determine the bulk unit weight, dry unit weight, void ratio, and degree of saturation of the sample. (AMIE Summer 2023, 8 marks) Solution Weight of soil in core cutter = 2770.60 - 946.80 = 1823.8 g Bulk unit weight, γ t = W/V = 1823.8/1000 = 1.82 g/ccDry unit weight, γ d = γ t /(1 + w) = 1.82/(1 + 0.1045) = 1.65 g/cc Void ratio, e = (G s γ w /γ d ) - 1 = (2.65 x 1.0/1.65) - 1 = 0.61 Degree of saturation, S = wG s /e = (0.1045 x 2.65)/0.61 = 0.4540 = 45.4% Numerical What is the theoretical height of the capillary rise and the capillary pressure in fine-grained soil with an effective size (D 10 ) of 0.002 mm? (AMIE Summer 2023, 4 marks) Solution D 10 = 0.002 mm;  Using the assumption that th...