Empowering Students with AI-Powered Assessments & Intelligent Learning
Chapter Exam

Chapter 16: JavaScript Functions — Online MCQ Test

COMPUTER APPLICATIONS · CLASS 11th · Tamil Nadu State Board

Practice Chapter 16: JavaScript Functions with a free chapter-wise online MCQ test for Tamil Nadu State Board CLASS 11th COMPUTER APPLICATIONS. This chapter covers: This chapter covers function definitions parameter passing return values and built-in JavaScript functions. Students write modular reusable code blocks and handle event-driven scri.... AI-generated questions from basic to board-exam level, with instant results and explanations.

10
Questions
20m
Time Limit
3
Attempts Left
  • 10 random questions from this chapter (mixed difficulty)
  • Questions you've seen before won't repeat until the pool resets
  • You have 20 minutes — exam auto-submits when time is up
  • Maximum 3 attempts per chapter
  • Results and explanations shown immediately after submission
Login to Start This Exam →

New here? Register free — includes 3 free chapter exams.

Chapter 16: JavaScript Functions — Important Questions & Answers (FAQ)

Frequently asked questions from Tamil Nadu State Board CLASS 11th COMPUTER APPLICATIONS — Chapter 16: JavaScript Functions, with answers and explanations. These are sample questions; the exam has its own separate question set.

What is a JavaScript function?
  • A. A block of code designed to perform a particular task ✓
  • B. A variable used to store text
  • C. A loop that repeats statements
  • D. A style rule for web pages
Answer: A. A block of code designed to perform a particular task
A function is a reusable block of code that performs a specific task whenever it is called.
Which keyword is used to define a function in JavaScript?
  • A. define
  • B. function ✓
  • C. method
  • D. call
Answer: B. function
The keyword function is used to declare a function in JavaScript.
Which statement correctly calls the function named display()?
  • A. display;
  • B. call display();
  • C. display(); ✓
  • D. function display();
Answer: C. display();
A function is called by writing its name followed by parentheses, such as display();
Which of the following is NOT a function in JavaScript?
  • A. alert()
  • B. confirm()
  • C. parseFloat()
  • D. console page() ✓
Answer: D. console page()
console page() is not a valid JavaScript built-in function. The others are standard built-in functions.
Which is the best reason to use a function in an event-driven JavaScript program?
  • A. To make the browser slower
  • B. To run the same code repeatedly when an event occurs ✓
  • C. To prevent all user interactions
  • D. To replace HTML tags
Answer: B. To run the same code repeatedly when an event occurs
In event-driven programming, functions are used as handlers so that the same task runs whenever an event happens.

Choose Your Plan & Start Practising

All plans cover every subject and chapter of your registered grade.

Free
₹0
3 exams · 1 year
Start Free →
Active
₹350
12 exams · 1 year
Get Active →
Pro
₹899
Unlimited exams · 1 year
Get Pro →

Compare all plans in detail →