Skip to main content

Computing & Informatics - MCQs from AMIE exam (Summer 2021)

Choose the correct answer for the following (10 x 2)

1. What is C++?
(a) C++ is an object-oriented programming language
(b) C++ is a procedural programming language
(c) C++ supports both procedural and object-oriented programming language 
(d) C++ is a functional programming language

2. Which of the following is the correct syntax of including user-defined header files in C++?
(a) #include [userdefined]
(b) #include "userdefined"
(c) #include <userdefined.h>
(d) #include <userdefined>

3. Which of the following approach is used by C++?
(a) Left-right
(b) Right-left
(c) Bottom-up
(d) Top-down

4. Which of the following is correct about this pointer in C++?
(a) This pointer is passed as a hidden argument in all static variables of a class
(b) This pointer is passed as a hidden argument in all the functions of a class
(c) This pointer is passed as a hidden argument in all non-static functions of a class
(d) This pointer is passed as a hidden argument in all static functions of a class

5. Which of the following type is provided by C++ but not C?
(a) double
(b) float
(c) int
(d) bool

6. The physical layer is concerned with ⸻
(a) bit-by-bit delivery
(b) the process to process delivery
(c) application to application delivery
(d) port to port delivery

7. Which transmission media provides the highest transmission speed in a network?
(a) Coaxial cable
(b) Twisted pair cable
(c) Optical fibre
(d) Electrical cable

8. Bits can be sent over guided and unguided media as an analogue signal by
(a) Digital modulation
(b) Amplitude modulation
(c) Frequency modulation
(d) Phase modulation

9. Which of the following is a type of architecture used in computers nowadays?
(a) Microarchitecture
(b) Harvard Architecture
(c) Von-Neumann Architecture
(d) System Design

10. Which of the following allows simultaneous write and read operations?
(a) ROM
(b) EROM
(c) RAM
(d) None of the above

Answers

1. (a) C++ is a general-purpose object-oriented programming (OOP) language developed by Bjarne Stroustrup.

2. (b) C++ uses double quotes to include a user-defined header file. The correct syntax of including user-defined is #include “userdefinedname”.

3. (c) Object-oriented language such as C++ or java uses a bottom-up approach where each object is identified first. 

4. (c)  The ‘this’ pointer is passed as a hidden argument to all non-static member function calls and is available as a local variable within the body of all non-static functions. ‘this’ pointer is a constant pointer that holds the memory address of the current object. ‘this’ pointer is not available in static member functions, as static member functions can be called without any object (with class name).

5. (d) C++ provides the boolean type to handle true and false values, whereas no such type is provided in C.

6. (a) Physical layer deals with a bit to bit delivery in networking. The data unit in the physical layer is bits. The process to process delivery or the port to port delivery is dealt with in the transport layer. The various transmission mediums aid the physical layer in performing its functions.

7. (c) Fiber optics is considered to have the highest transmission speed among the all mentioned above. The fiber optics transmission runs at 1000Mb/s. It is called as 1000Base-Lx whereas IEEE standard for it is 802.3z. It is popularly used for modern day network connections due to its high transmission rate.

8. (a) Digital Modulation provides more information capacity, high data security, quicker system availability with great quality communication. Hence, digital modulation techniques have a greater demand, for their capacity to convey larger amounts of data than analog modulation techniques.The aim of digital modulation is to transfer a digital bit stream over an analog communication channel, for example over the public switched telephone network (where a bandpass filter limits the frequency range to 300–3400 Hz) or over a limited radio frequency band.

9. (c)  John von Neumann proposed this architecture. The Von Neumann architecture consists of a single, shared memory for programs and data, a single bus for memory access, an arithmetic unit, and a program control unit. The Von Neumann processor operates fetching and execution cycles seriously.

10. (c) The Random Access Memory or RAM is the computer memory which allows simultaneous read and write operations in the Computer. A RAM allows the instantaneous reading as well as writing of a memory, irrespective of the physical location of the data in the memory. The RAMs govern the memory used in operations in the computer, and the memory stored in them is temporary, and lost when the next operation is initiated or the computer is shut down.

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

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

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