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

Function declaration consists of

Question # 2

A variable declared inside a function is known as:

Question # 3

A type of function that is available as part of language is known as

Question # 4

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

Question # 5

Function definition can be written

Question # 6

In a C program, two functions can have

Question # 7

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

Question # 8

The scope of a variable refers to its:

Question # 9

The printf is a:

Question # 10

The name of actual and formal parameters:

Question # 11

Which of the following is incorrect?

Question # 12

The function definition consists of:

Question # 13

Which of the following is true about a function call?

Question # 14

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

Question # 15

In a C program, two functions can have:

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


Topic Test

00:00

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

  • L
    Lubna Nadeem 17 - Jun - 2026 02 Min 55 Sec 60/60
  • F
    fatema naveed 17 - Jun - 2026 01 Min 59 Sec 56/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
  • M
    Muhammad noor Ahmed 26 - Feb - 2024 03 Min 46 Sec 55/60
  • N
    namra malik 27 - Mar - 2026 01 Min 55 Sec 52/60
  • A
    Abdullah Ansari 30 - Mar - 2026 03 Min 00 Sec 52/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
    Masooma Shehzadi 07 - Jul - 2026 03 Min 17 Sec 48/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

ECAT Computer Sciences Chapter 12 Important MCQ's

Sr.# Question Answer
1 Which of the following Is NOT a valid function declaration?
A. Int ave3(int a, Int b, Int c);
B. Int 3ave(Int a, Int b, Iht c);
C. int ave3(int, int, int);
D. int ave_3(int al, int a2, Int a3)
2 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);
3 Which of the following is incorrect?
A. A function can call another function
B. A function can be calling many times in a program
C. A function can return values input by user
D. A function must have at least one value parameter
4 Function prototype for built-in functions are specified In
A. Source file
B. Header file
C. Object file
D. Image file
5 Another name for built in function:
A. User defined function
B. Library function
C. Arithmetic function
D. Both A and B
6
A variable declared inside a function is known as:
A. Local variable
B. Global variable
C. Automatic variable
D. A and C
7 The name of actual and formal parameters
A. May or may not be same
B. Must be same
C. Must be different
D. Must be In lower case
8 Which of the following steps takes place when function is called:
A. The control moves to the function that is called
B. All statements in the body of function are executed
C. The control returns back to the calling function
D. All of these
9 Global variables are created in:
A. RAM
B. ROM
C. Hard disk
D. Cache
10 Function declaration consists of
A. Function name
B. Function return type
C. Number and types of parameters
D. All of these

Test Questions