0

MCA Entrance

Description: This test covers topics important for MCA entrance.
Number of Questions: 15
Created by:
Tags: MCA Entrance Basic Fundamentals Hardware and Software Programming Fundamentals of Computer Programming Number System Number System and Its Application Gates Truth Table and Basic Logic Gates
Attempted 0/15 Correct 0 Score 0

Which of the following languages can be used for creating web pages?

  1. C

  2. FORTRAN

  3. COBOL

  4. JAVA

  5. HTML


Correct Option: E
Explanation:

HyperText Markup Language (HTML) is the main markup language for creating web pages and other information that can be displayed in a web browser.

What is the process of creating new classes with enhanced features from already existing ones called?

  1. Structure

  2. Polymorphism

  3. Inheritance

  4. Template

  5. Function overloading


Correct Option: C
Explanation:

It is the capability of one class to inherit properties from another class.

Which of the following is not a modifier used in C programming language?

  1. short

  2. long

  3. sizeof

  4. signed

  5. unsigned


Correct Option: C
Explanation:

This operator is used to find out how much storage is allocated to a data type.

The binary number (1100 1001 1100 1111) constitutes of how many bytes?

  1. 4

  2. 2

  3. 16

  4. 1

  5. 32


Correct Option: B
Explanation:

A group of eight binary digits constitute a byte. Since there are 16 digits, there are 2 bytes.

Which of the following is a user defined data type used in C programming language?

  1. int

  2. float

  3. double

  4. char

  5. struct


Correct Option: E
Explanation:

A struct in C programming language is a structured (record) type that aggregates a fixed set of labelled objects, possibly of different types, into a single object. It is a user defined data type.

Which keyword is used for defining a structure?

  1. str

  2. st

  3. struct

  4. stt

  5. structure


Correct Option: C
Explanation:

A struct in C programming language is a structured (record) type that aggregates a fixed set of labelled objects, possibly of different types, into a single object.

Which of the following attributes describe ROM?

  1. Low speed, volatile memory

  2. High speed, volatile memory

  3. Virtual memory

  4. High speed,non-volatile memory

  5. Secondary memory


Correct Option: D
Explanation:

ROM is a high speed, non-volatile memory.

What is the process of moving a process from main memory to hard disk called?

  1. Scheduling

  2. Caching

  3. Swapping

  4. Polling

  5. Spooling


Correct Option: C
Explanation:

A process needs to be in memory to be executed. A process, however, can be swapped temporarily out of memory to a backing store on disk and then brought back into memory for continued execution. It is a memory management scheme.

Which of the following logic gates works as an inverter?

  1. AND

  2. OR

  3. NOT

  4. NAND

  5. XOR


Correct Option: C
Explanation:

NOT gate complements the given input. Hence, it works as an inverter.

Which logic gate would give the output low, only when all its inputs are high?

  1. OR

  2. NOR

  3. XOR

  4. AND

  5. NAND


Correct Option: E
Explanation:

An AND gate gives output high, when all its inputs are high. A NAND gate negates the output of AND gate. Hence the output is low, when all the inputs are high.

Which gate can be used in a combination to perform the function of AND, OR and NOT gates?

  1. AND

  2. OR

  3. NOT

  4. NAND

  5. XOR


Correct Option: D
Explanation:

A NOT gate can be implemented using a NAND gate by connecting both the inputs of the NAND gate together.A NAND Gate performs the AND-NOT function.Removing the NOT gate at the outputof the NAND gate results in an AND gate. The effect of the NOT gate at the output of the NAND gate can be cancelled by connecting a NOT gate at the output of the NAND Gate.An OR Gate can be implemented using a combination of three NAND gates. The implementation is based on the alternate symbolic representation of the OR gate.

Operation of which of the following gates is a logical multiplication?

  1. OR

  2. AND

  3. NOT

  4. NAND

  5. NOR


Correct Option: B
Explanation:

The AND gate performs a logical multiplication function.

The multiplication function performed by the AND gate is shown in the function table for a two input AND gate.
The expression describing the operation of a two inputs AND gate is F = A.B
The '.' is an AND operator and the expression represents an AND operation between inputsand B.

Which C header file contains the prototype statements for the file operations?

  1. string.h

  2. stdio.h

  3. conio.h

  4. stdlib.h

  5. math.h


Correct Option: B
Explanation:

Input and Output operations can also be performed in C using the C Standard Input and Output Library (cstdio, known as stdio.h in the C language). This library uses what are called streams to operate with physical devices such as keyboards, printers, terminals or with any other type of files supported by the system.

Which of the follwoing data structures is LIFO?

  1. Stack

  2. Queue

  3. Tree

  4. Linked List

  5. De-queue


Correct Option: A
Explanation:

A stack is a LIFO data-structure. LIFO stands for Last In First Out. The element which enters last, is the first to get out of the stack.

What is a program in execution called?

  1. Algorithm

  2. Process

  3. Subroutine

  4. Object code

  5. Instruction


Correct Option: B
Explanation:

A process is an instance of a computer program that is being executed. It contains the program code and its current activity.

- Hide questions