Answer:
Call showValue (12)
Explanation:
The function is a block of the statement which performs the special task.
if you define the function, then you have to call that function.
Then, program control moves to the function and start to execute otherwise not execute the function.
the syntax for calling the function:
name(argument_1, argument_2,....);
we can put any number of arguments in the calling.
check the options one by one for finding the answer:
Call showValue( Integer): this is valid calling but it passes the variable, not the 12. this is not correct.
Call showValue( Integer 12): This is not valid calling, because it passes the data type as well which is incorrect.
Call showValue( Real): this is valid calling but it passes the variable, not the 12. this is not correct.
Call showValue (12): this valid calling and also pass the value 12.
Therefore, the correct answer is option b.
Advntage:
provides CPU scheduling, memory management, file management, and other operating system functions through system calls. The other one is that it is a single large process running entirely in a single address space.
Disadvantage: if anyone service fails it leads to an entire system failure
The answer is 2-to-the-power-of-n, since for every input, the number of different combinations doubles. From your list I think answer A is meant to indicate 2ⁿ.
Explanation:
"Select vendor_name as Vendor_Name,
default_account_number as Default_Account_No ,
account_description as Account_Description
From Vendors v, General_Ledger_Accounts ledger
where (add the join condition here)
Order by account_description, vendor_name"
Note: In the above statement, include the alias name appropriately and then execute the query
The "select statement" should contain the list of columns to be displayed
"From statement" should contain the name of the table from which data needs to be fetched.
"Where clause" defines the relationship as well the condition that needs to be executed
"Order by clause" defines the sorting mechanism with the relevant field