VU MGT-301 Online Test Preparation

MCQ's Test For MGT-301 Final Term Exams Preparation Virtual University

Try The MCQ's Test For MGT-301 Final Term Exams Preparation Virtual University

  • Total Questions20

  • Time Allowed20

MGT-301 Final Term Exams Preparation Virtual University

00:00
Question # 1

"setprecision" manipulator will set.

Question # 2

Operator overloading can be performed through__________________.

Question # 3

When an operator function is defined as member function for a binary Plus (+) operator then the number of argument it take is/are

Question # 4

Header file: fstream.h includes the definition of the stream classes __________.

Question # 5

new and delete are _____ whereas malloc and free are _____.

Question # 6

What does STL stand for?

Question # 7

The function free() returns back the allocated memory got thorough calloc andmalloc to _____.

Question # 8

A Matrix can be composed of ints, floats or doubles as their elements. Best way is to handle this

Question # 9

All preprocessor directives are started with the symbol______.

Question # 10

With user-defined data type variables (Objects), self assignment can produce.

Question # 11

When an array is passed to a function then default way of passing this array is

Question # 12

Overloaded new operator function takes parameter of type size_t and returns

Question # 13

Assignment operator is -------------------------associative.

Question # 14

The endl and flush are _______

Question # 15

Structured Query Language is used for ______________

Question # 16

*.doc is _____________ by type.

Question # 17

What will be the correct syntax to assign an array named arr of 5 elements to a pointer ptr?

Question # 18

A Pointer is a special variable that contain.

Question # 19

When an object of a class is defined inside an other class then

Question # 20

In C/C++ if we define an array of size eight (8) i.e. int Arr [8]; then the last element of this array will be stored at

Prepare Complete Set Wise MGT-301 Final Term Exams Preparation Virtual University MCQs Online With Answers


Topic Test

00:00

Top Scorers Of MGT-301 Final Term Exams Preparation Virtual University MCQ`s Test

  • F
    FAHAD JUTT 25 - Jul - 2024 03 Min 25 Sec 16/20
  • A
    Arooj Ghulam Rasool 28 - Jan - 2026 18 Min 27 Sec 15/20
  • A
    ATIF iqbal 06 - Feb - 2024 06 Min 15 Sec 13/20
  • S
    Sajjal Azhar 08 - Jun - 2024 05 Min 21 Sec 9/20
  • L
    Laiba Bibi 02 - Jun - 2024 05 Min 42 Sec 8/20
  • Y
    Yasir Ammar 17 - Dec - 2024 02 Min 20 Sec 7/20
  • U
    Uswa Ch 15 - Feb - 2024 02 Min 45 Sec 7/20
  • M
    Muhammad Zain 30 - May - 2024 03 Min 21 Sec 6/20
  • A
    Ahsan khan 07 - Mar - 2024 10 Min 50 Sec 5/20
  • M
    Misbah Ahmad 10 - Aug - 2024 06 Min 23 Sec 3/20
  • B
    bc240435692 RANIA KHAN 04 - Nov - 2024 01 Min 18 Sec 2/20
  • A
    Aleena shafaut 04 - Jun - 2024 02 Min 12 Sec 2/20
  • A
    Anam. Akram 20 - Nov - 2024 00 Min 23 Sec 1/20
  • S
    Saim G 07 - Aug - 2025 00 Min 03 Sec 0/20
  • S
    Shah Muhammad 18 - Apr - 2024 01 Min 09 Sec 0/20

Virtual University CS-201 Chapter 1 Important MCQ's

Sr.# Question Answer
1 Structured Query Language is used for ______________
A. Databases Management
B. Networks
C. Writing Operating System
D. none of the given options
2 Which of the following function calling mechanism is true for the function prototype given below?
A. Call by value
B. Call by reference using pointer
C. Call by reference using reference variable
D. None of the given options
3 With user-defined data type variables (Objects), self assignment can produce.
A. Syntax error
B. Logical error
C. Link error
D. Non of the given options
4 The code is written to __________ the program.
A. implement
B. design
C. analysis
D. none of the given options
5 Which of the following statement is best regarding declaration of friend function?
A. Friend function must be declared after public keyword
B. Friend function must be declared after private keyword
C. Friend function must be declared at the top within class definition
D. It can be declared anywhere in class as these are not affected by the public and private keywords
6 A Matrix can be composed of ints, floats or doubles as their elements. Best way is to handle this.
A. Write a separate class to handle each
B. Use templates
C. Use strings to store all types
D. None of the given options
7 What will be the correct syntax to access the value of fourth element of an array using pointer ptr?
A. ptr[3]
B. (ptr+3)
C. *(ptr+3)
D. Both 1and 3
8 When an operator function is defined as member function for a binary Plus (+) operator then the number of argument it take is/are.
A. Zero
B. One
C. Two
D. N arguments
9 The operator used for casting, in C, is standard ________ operator.
A. none of the given options
B. cast
C. cost
D. const
10 For which array, the size of the array should be one more than the number of elements in an array?
A. int
B. double
C. float
D. char

Test Questions

Is this page helpful?

Share your comments & questions here

Guest
  • No comments yet. Be the first to comment!