Skip to main content

Computing & Informatics - short answer type questions from AMIE exams

What is the purpose of the exit () command?
To quit a program

What is a global variable? How long does a global variable remain alive?
Global variables are those variables that are visible to all functions. Any function can read/modify them. Global variables remain till the program terminates.

What do you mean by a pointer variable in C programming? Give an example.
A pointer is a variable that stores the address of another variable. Unlike other variables that hold values of a certain type, a pointer holds the address of a variable. For example, an integer variable holds (or you can say stores) an integer value, however, an integer pointer holds the address of an integer variable. 
Syntax:
datatype *var_name; 
int *ptr;   //ptr can point to an address which holds int data

Explain how one can recall a previously used DOS command by pressing some key.
Using F9 key

What happens when the following command is used?
chmod u = rwx,go=r-x foo
The access mode of the file is changed, the user is given read, write and execute permission. group members and others are given only read and execute (r & x) permission.

Transform (37.24)₈ into its equivalent binary form.
The output will be 11111.0101
Steps:
You enter the number: 37.248 in the Octal number system and want to translate it into Binary.
To do this, at first translate it to decimal here so :

37.248 = 3∙81+ 7∙80+ 2∙8-1+ 4∙8-2 = 24 + 7 + 0.25 + 0.0625 = 31.312510

Converting 31.312510 in Binary system here so:

The whole part of a number is obtained by dividing on the basis of new


Hence 3110 = 111112

The fractional part of a number is found by multiplying on the basis of new


Hence 0.312510 = 0.01012

Add up together whole and fractional part here so:

111112 + 0.01012 = 11111.01012

Result of converting:
37.248 = 11111.01012

What do you mean by secondary memory? Give an example.
Secondary memory is where programs and data are kept on a long-term basis. Common secondary storage devices are hard disk and optical disks. The hard disk has enormous storage capacity compared to the main memory.

What is an electronic data interchange? Give one of its applications.
Electronic Data Interchange (EDI) is the electronic interchange of business information using a standardized format; a process that allows one company to send information to another company electronically rather than with paper. Business entities conducting business electronically are called trading partners.

List different types of computer networks.
LAN (Local Area Network), WAN (Wide Area Network), MAN (Metropolitan  Area Networks)

What is sequential logic? Give an example.
In digital circuit theory, sequential logic is a type of logic circuit whose output depends not only on the present value of its input signals but on the sequence of past inputs, the input history. This is in contrast to combinational logic, whose output is a function of only the present input.

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