SELECT *
FROM (`youtube_videos`)
WHERE `display_status` = 1
ORDER BY `video_id` desc
LIMIT 1SELECT *
FROM (`youtube_videos`)
WHERE `display_status` = 1
ORDER BY `video_id` desc 12th Standard Computer Science English Medium Function Reduced Syllabus Important Questions 2021 12th Standard
Computer Science Multiple Choice Questions The small sections of code that are used to perform a particular task is called Subroutines Files Pseudo code Modules Which of the following is a unit of code that is often defined within a greater code structure? Subroutines Function Files Modules Which of the following is a distinct syntactic block? Subroutines Function Definition Modules The values which are passed to a function definition are called Arguments Subroutines Function Definition Which of the following are mandatory to write the type annotations in the function definition? { } ( ) [ ] < > Which of the following defines what an object can do? Operating System Compiler Interface Interpreter Which of the following carries out the instructions defined in the interface? Operating System Compiler Implementation Interpreter The functions which will give exact result when same arguments are passed are called Impure functions Partial Functions Dynamic Functions Pure functions The functions which cause side effects to the arguments passed are called Impure function Partial Functions Dynamic Functions Pure functions Which of the following are expressed using statements of a programming language? Functions Algorithm Interface Implementation What must the used when a bulk of statements to be repeated for many number of times? Algorithm Program Subroutines Parameters Which of the following contains a set a code that works an many kinds of input and produces a concrete output? Function Algorithm Arguments Language The recursive function is defined using the keyword let let rec name infer A function definition which call itself is called user defined function built-in function derived function recursive function Which of the following is a description of all functions in object oriented programming language? Implementation parameter Interface Arugument Which of the following is an instance created from the class? parameter function subroutines object Which of the following is an example of impure function? Strlent( ) randomt( ) sqrfi( ) puref( ) In which type of function the return type is solely depends on its argument passed? pure impure parameterized monochromatize In which type of function the return type does not solely depends on its argument passed? Pure Parameterized Impure Monochromatize Subroutines are called as________ Algorithm Interface Parameters Function _______are the variables in a function definition. Arguments Parameters Identifiers Operators Explicitly_________the types can help with debugging. defining annotating informing computing A_________ combines the external interface with an implementation of the interface parameter without type class declaration function definition parameter with type In object oriented programs__________ are the interface Implementation parameters Interface Arguments In object oriented programs, how the object is processed and executed is__________ Implementation Interface recursion function Strlen is an example________function. user defined impure pure recursive Evaluation of__________ functions does not cause any side effects to its output? Impure pure Recursive built-in 2 Marks What is a subroutine? Define Function with respect to Programming language. Write the inference you get from X : = (78). Differentiate interface and implementation. Which of the following is a normal function definition and which is recursive function definition Differentiate parameters and arguments. Give an example of function definition parameter without type. Give an example of function definition parameter with type. What is recursive function? Give an example of pure function. Give an example of impure function. Construct on algorithm that arranges meetings between these two types so that they change their color to the third type. In the end, all should display the same color. 3 Marks Mention the characteristics of Interface. Why strlen is called pure function? What is the side effect of impure function. Give example. Differentiate pure and impure function. Wha happens if you modify a variable outside the function? Give an example. Explain the syntax of function definitions. Write an algorithm to check whether the entered number is even or odd. Write a short note an syntax for function types. 5 Marks What are called Parameters and write a note on Identify in the following program i) Name of the function Explain with example Pure and impure functions. Explain with an example interface and implementation.
12th Standard Computer Science English Medium Function Reduced Syllabus Important Questions 2021
Question Bank Software Feb-03 , 2021
12th Standard Computer Science English Medium Function Reduced Syllabus Important Questions 2021
Reg.No. :
i) let rec sum x y:
return x + y
ii) let disp:
print ‘welcome’
iii) let rec sum num:
if (num!=0) then return num + sum (num-1)
else
return num
(i) Parameter without Type
(ii) Parameter with Type
let rec gcd a b:=
if b <> 0 then gcd b (a mod b) else return a:
ii) Identify the statement which tells it is a recursive function
iii) Name of the argument variable
iv) Statement which invoke the function recursively
v) Statement which terminates the recursion
*****************************************
Reviews & Comments about 12th Standard Computer Science English Medium Function Reduced Syllabus Important Questions 2021
Write your Comment