SchoolConnects

Other Chapters For 12th

Tags

12th Class Chapter No 9 - Functions in Computers for ISC

Functions/methods (as abstractions for complex user defined operations on objects), functions as mechanisms for side effects; formal arguments and actual arguments in functions; different 
behaviour of primitive and object arguments. Static functions and variables. The this variable. Examples of algorithmic problem solving using functions (various number theoretic problems, 
finding roots of algebraic equations). Functions are like complex operations where the object is implicitly the first argument. Variable this denotes the current object. Functions 
typically return values, they may also cause sideeffects (e.g. change attribute values of objects) – typically functions that are only supposed to cause side-effects return void (e.g. Set functions). Java passes argument by value. Illustrate the difference between primitive values and object values as arguments (changes made inside functions persist after the call for object values). Static definitions as class variables and class functions visible and shared by all instances. Need for static functions and variables. Introduce the main method – needed to begin execution. 
Posted in 12th on August 05 2020 at 02:19 PM

ISC 12th CLASS Computers OTHER CHAPTERS

  • 12th-class Computers Chapter 14

    Big O notation is the most common metric for calculating time complexity. It describes the...
  • 12th-class Computers Chapter 13

    In computer science, a data structure is a data organization, management, and storage format...
  • 12th-class Computers Chapter 12

    Polymorphism means "many forms", and it occurs when we have many classes that are related to...
  • 12th-class Computers Chapter 11

    The process in which a function calls itself directly or indirectly is called recursion and the...
  • 12th-class Computers Chapter 10

    An array is a collection of like variables that share a single name. Usually, the array size is...
  • 12th-class Computers Chapter 8

    Statements; conditional (if, if-then-else, switchbreak, ?: ternary operator), looping (for,...
  • 12th-class Computers Chapter 7

    Variables as names for values; expressions (arithmetic and logical) and their...
  • 12th-class Computers Chapter 6

    Wrapper classes are objects encapsulating primitive Java types. Each Java primitive has a...
  • 12th-class Computers Chapter 5

    An object is an abstract data type with the addition of polymorphism and inheritance. Rather...
  • 12th-class Computers Chapter 4

    Simple: Java is a simple language because its syntax is simple, clean, and easy to understand....

Comments (0)

No login
×