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

A variable declaration outside any function is known as:

Question # 2

Function declaration consists of

Question # 3

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

Question # 4

Which of the following is not valid function declaration?

Question # 5

Function declaration consist:

Question # 6

Another name for built in function:

Question # 7

Which of the following Is NOT a valid function declaration?

Question # 8

Function prototype for built-in functions are specified in:

Question # 9

The scope of a variable refers to its:

Question # 10

Function definition can be written

Question # 11

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

Question # 12

Function declaration can be written:

Question # 13

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

Question # 14

In a C program, two functions can have:

Question # 15

The function definition consists of:

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 The first line of function definition is known as:
A. Function header
B. Function body
C. Arguments
D. Return type
2 Function prototype for built-in functions are specified in:
A. Source file
B. Header file
C. Object file
D. Image file
3 Function definition can be written
A. Before main() function
B. After main() function
C. In a separate file
D. All of these
4 In a C program, two functions can have
A. Same name
B. Same parameters
C. Same name and same Parameters
D. Same name but different parameters
5 Variable is allocated to a local variable at the time of its:
A. Declaration
B. Destruction
C. Definition
D. First reference
6 The printf is a
A. Built-in function
B. User-defined function
C. Local function
D. Keyword
7 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)
8 A built-in function:
A. Cannot be redefined
B. Can be redefined
C. Cannot return a value
D. Should be redefined
9 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
10 The function definition consists of:
A. Function header of function declaration
B. Function body
C. Both A and B
D. None of these

Test Questions

Share your comments & questions here

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