Skip to main content
Chapter 11 of 22
Flashcards

Functions — Flashcards

ICSE · Class 11 · Artificial Intelligence

40 flashcards for Functions (ICSE Class 11 Artificial Intelligence) to test yourself on key terms and facts. Sample: "What is a function in Python?"

65 questions40 flashcards6 formulas & key relations5 concepts

Interactive on Super Tutor

Studying Functions? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for flashcards and more.

Free trial, no card needed.

40 Flashcards·
Functions BasicsBuilt-in FunctionsType Conversion FunctionsInput and Output
Card 1Functions Basics

What is a function in Python?

Answer

A function is a block of organized, reusable code that performs a specific task. It runs only when it is called. Functions help make a program structured and easier to manage.

Card 2Functions Basics

Why are functions useful in programming?

Answer

Functions improve modularity, reduce repeated code, and make programs easier to understand, maintain, and debug. A large program can be divided into smaller parts, and each part can do one specific ta…

Card 3Built-in Functions

What are built-in functions?

Answer

Built-in functions are functions already present in Python and always available for use. No additional module import is needed to use them. Examples include int(), float(), input(), eval(), min(), max…

Card 4Type Conversion Functions

What does int() do?

Answer

int() converts a value into an integer. If a floating-point number is given, the decimal part is removed. If a non-numeric string is given, it causes an error. Examples: int("3") -> 3, int(34.8) -> 34…

Card 5Type Conversion Functions

What happens when int('Delhi') is used?

Answer

It results in a ValueError because 'Delhi' is a non-numeric string and cannot be converted to an integer.

Card 6Type Conversion Functions

What does float() do?

Answer

float() returns a floating-point number from a number or a numeric string. Examples: float(34) -> 34.0, float(22+23) -> 45.0, float(12+(1/4)) -> 12.75, float("33") -> 33.0.

Card 7Type Conversion Functions

What happens when float('delhi') is used?

Answer

It results in a ValueError because the string cannot be converted to a floating-point number.

Card 8Input and Output

What does input() do?

Answer

input() accepts an input string from the user without evaluating it. Whatever is entered is converted into a string. Program flow stops until the user gives input. The prompt is optional.

+32 more flashcards

Practise All

Frequently Asked Questions

What are the important topics in Functions for ICSE Class 11 Artificial Intelligence?
Key topics in Functions include Core Idea of Functions, Built-in Functions and Type Conversion, User-defined Functions, Parameters, Arguments, and Function Calls. Study these first, then practise questions on each for Class 11 exams.
How many flashcards are available for Functions?
There are 40 flashcards for Functions covering key definitions, facts and ideas. A few sample cards are shown on this page.
How should I revise Functions for Class 11 exams?
Learn the core ideas first, then work through the 65 practice questions on Functions. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Functions chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for ICSE Class 11 Artificial Intelligence. Free to start, no card needed.