ECAT Pre Computer Science MCQ Test For Computer Chapter 12 With Answer

MCQ's Test For ECAT Computer Science Chapter 12 Introduction to C Language

Try The MCQ's Test For ECAT Computer Science Chapter 12 Introduction to C Language

  • Total Questions15

  • Time Allowed15

ECAT Computer Science Chapter 12 Introduction to C Language

00:00
Question # 1

Which statement is used by a function used to return a value:

Question # 2

A variable declaration outside any function is known as:

Question # 3

The first line of function definition is known as:

Question # 4

A built-In function

Question # 5

A value that can be sent to a function is known as:

Question # 6

Which of the following is not valid function declaration?

Question # 7

Formal arguments are also called

Question # 8

A value that can be sent to a function is known as

Question # 9

Which of the following is type of function available in C language?

Question # 10

The printf is a:

Question # 11

In a C program, two functions can have:

Question # 12

What is a variable name that is used by a function to receive passed values?

Question # 13

Function definition can be written

Question # 14

Variable is allocated to a local variable at the time of its:

Question # 15

Memory is allocated to a local variable at the time of its

Prepare Complete Set Wise ECAT Computer Science Chapter 12 Introduction to C Language MCQs Online With Answers


Top Scorers Of ECAT Computer Science Chapter 12 Introduction to C Language MCQ`s Test

  • F
    Fatima 05 - Feb - 2019 01 Min 12 Sec 60/60
  • K
    kanwal shahzadi 12 - Feb - 2019 01 Min 26 Sec 55/60
  • A
    Ambreen Zubari 15 - Feb - 2019 01 Min 46 Sec 55/60
  • I
    Iftikhar Ahmad 02 - Nov - 2018 02 Min 13 Sec 55/60
  • A
    aamna 29 - Nov - 2018 02 Min 30 Sec 55/60
  • M
    Muhammad noor Ahmed 26 - Feb - 2024 03 Min 46 Sec 55/60
  • M
    muhammad Yousaf Yousaf 18 - Oct - 2023 02 Min 48 Sec 50/60
  • S
    Suleman Zeeshan 06 - Jul - 2021 03 Min 21 Sec 50/60
  • M
    M.Faiq 26 - May - 2024 02 Min 09 Sec 45/60
  • A
    Abdullah 30 - Jan - 2024 02 Min 42 Sec 45/60
  • S
    Salman 25 - Feb - 2024 03 Min 31 Sec 45/60
  • M
    Marwa Ashfaq 19 - May - 2024 04 Min 53 Sec 45/60
  • A
    Alishba Farooq 10 - Mar - 2024 07 Min 01 Sec 45/60
  • M
    maryam 15 - Nov - 2018 01 Min 44 Sec 40/60
  • L
    laraib 15 - Feb - 2019 01 Min 50 Sec 40/60
Sr.# Question Answer
1 Multiple arguments to a function are separated by:
A. Coments
B. Semicolons
C. Colons
D. Commas
2 Which of the following is true about a function call?
A. Stops to execution of the program
B. Transfer control to the called function
C. Transfer control to the main function
D. Resumes the execution of the program
3 Memory is allocated to a local variable at the time of its
A. Declaration
B. Destruction
C. Definition
D. First reference
4 Function prototype for built-in functions are specified In
A. Source file
B. Header file
C. Object file
D. Image file
5 Which statement is used by a function used to return a value:
A. Given
B. Return
C. Continue
D. Send
6 Function prototype for built-in functions are specified in:
A. Source file
B. Header file
C. Object file
D. Image file
7 A built-in function:
A. Cannot be redefined
B. Can be redefined
C. Cannot return a value
D. Should be redefined
8 The statement that activates a function is known as:
A. Function call
B. Function output
C. Function design
D. Function definition
9 The process of sending an argument to a function is called:
A. Sending
B. Filtering
C. Delivering
D. Passing
10 The parameters in function declaration is called:
A. Formal parameters
B. Actual parameters
C. Both A and B
D. Returned parameters
11 Function declaration consists of
A. Function name
B. Function return type
C. Number and types of parameters
D. All of these
12 Which of the following is not valid function declaration?
A. Int ave3(int a, int b, int c);
B. Int 3ave(int a, int b, int c);
C. int ave_3(int, int, int);
D. int ave_3(int a1, int a2, int a3);
13 Formal arguments are also called:
A. Actual arguments
B. Dummy arguments
C. Original arguments
D. Referenced arguments
14 Global variables are created in:
A. RAM
B. ROM
C. Hard disk
D. Cache
15 Which of the following can return a value
A. Function
B. Procedure
C. Both A and B
D. None of above

Test Questions

Is this page helpful?