0% found this document useful (0 votes)
40 views

Demo 8

demo

Uploaded by

Ayush Sasane
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
40 views

Demo 8

demo

Uploaded by

Ayush Sasane
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
sitar, 558 Pa AAIOPE - ONLINE EXAM JAICPE ALL INDIA COUNCIL FOR PROFESSIONAL EXCELLENCE STUDENT DETAILS NAME: AYUSH UDDHAV SASANE STUDENT ID: 21N08595649 Date of Birth: 12/01/2004 Gender: MALE Mobile: 9881802434 Institute: YUVATECH COMPUTER INSTITUTE Course: C PROGRAMMING RESULT marks printO Exam Duration 60 Minutes ‘Type of Questions: Multiple Choice, Single Answer Total Marks: 100 Passing Marks: 40.00 Marks/Qus: 1.67 Correct answers: 0 Incorrect answers: 1 Total Marks Obtained: 0 Percentage marks & Grade: 0.00% - Status: Failed hitpsihwwu-aicneincia.acivexampractice_resut 18 star, 558 PM AAIOPE - ONLINE EXAM EXIT (https://www.aicpeindia.ac.in/exam/home/logout) Qi Answer: a2 Answer: a3 Answer: a4 Answer: as Answer: a6 Answer: a7 Answer: as Answer: as Answer: Qo Answer: qat Answer: qi2 Answer: (ORE) Answer: How many bytes are occupied by near, far and huge pointers (00S)? niear=2 far=4 huge=4 Bitwise can be used to perform addition and subtraction No If the two strings are found to be unequal then strcmp returns difference between the first non-matching pair of characters. TRUE Which of the following cannot be a variable name in C? volatile Which of the following is a selection statement in C++? switch-case Which operator is used to connect structure name to its member name? dot operator(.) Itis necessary to call the macro va_end if va_start is called in the function. Yes Specify the 2 library functions to dynamically allocate memory? malloc() and calloc() The space taken for a unsigned int type data is 2 bytes Which operator has the lowest priority? A float is 4 bytes wide, whereas a double is 8 bytes wide. TRUE Preprocessor directive Hifdef .. else ... Hendif is used for conditional compilation. TRUE Which is correct with respect to size of the datatypes? char < int < double hitpshwwu-aicpeindia.acirvexampractice_resut 26 star, 558 Pa qs Answer: Qas Answer: ais Answer: qaz Answer: Qi8 Answer: quis Answer: 20 Answer: qa Answer: Q.22 Answer: Q.23 Answer: 24 Answer: Q.25 Answer: a.26 Answer: Q27 Answer: AAIOPE - ONLINE EXAM In case of arguments passed by values when calling a function such as z=add(x,y) ny modifications to the variables x and y from inside the function “add” will not have any effect on the variables outside the function. On left shifting, the bits from the left are rotated and brought to the right and accommodated where there is empty space on the right? FALSE If the definition of the external variable occurs in the source file before its use in a particular function, then there is no need for an extern declaration in the function, TRUE ‘A function cannot be defined inside another function TRUE The "do- while” loop is an exit controlled loop TRUE What is a program A set of instruction Which is the correct syntax to declare constant pointer? Aand C both The programming language that closely resembles the machine language is Assembly language Exit() is same as return FALSE When requesting multiple inputs from the user,they must be separated by any of the above Choose the correct statement O represent a false condition Ifa variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable? Which of the following is not a valid variable name declaration? int 3_a; =n “Pass by value” method of passing parameters to a function the called function cannot alter the actual parameter hitpshwwu-aicpeindia.acirvexampractice_resut a6 star, 558 Pa Q.28 Answer: Q.29 Answer: Q30 Answer: Q31 Answer: 32 Answer: 0.33 Answer: 0.34 Answer: Q.35 Answer: Q.36 Answer: 37 Answer: 38 Answer: a39 Answer: aso Answer: at Answer: Qa2 Answer: GPE - ONLINE EXAM By default a real number is treated as a double What is correct order of precedence in C Modulus, Multiplication, Substration Which of the following below is/are valid C keywords int What is Dequeue? Elements can be added to or removed from either the front or rear Names of functions in two different files linked together must be unique TRUE What is an array? {An array isa collection of variables that are of the same data type. Which of the following is not a valid variable name declaration? None of the mentioned Variable names beginning with underscore is not encouraged. Why? To avoid conflicts since library routines use such names The binary equivalent of 5.375 is 101.011 Which of the following cannot be checked in a switch-case statement? Float “Pass by reference” method of passing parameters to a function the called function can alter the actual parameter What is use of in ¢ places cursor at the start of line Which of the following will not valid expressions in C? be! Size of short integer and long integer can be verified using the sizeof() operator. TRUE Identify the relational operator > hitpshwwu-aicpeindia.acirvexampractice_resut 46 star, 558 Pa 43 Answer: ae Answer: Q.45 Answer: Q.46 Answer: a7 Answer: Q48 Answer: Q.a9 Answer: aso Answer: asi Answer: Qs2 Answer: Qs3 Answer: asa Answer: ass Answer: Q56 Answer: as7 Answer: AAICPE - ONLINE EXAM The value of automatic variable that is declared but not initialized will be? Unpredictable The elements of union are always accessed using & operator No Pick the operator that not associates from the right? Ie Functions can be called either by value or reference TRUE The name of the function is case insensitive FALSE IF (*p) and **p is same No In which tree, for every node the height of its left subtree and right subtree differ almost by one? AVLtree The bitwise OR operator is used to set the desired bits to 1 The tool used to convert a ,C? program to machine language is called as Compiler Parameters passed to a function are separated with comma(,) Cana structure can point to itself? Yes When we mention the prototype of a function? Declaring =nitializaions in the “for” loop are optional TRUE Identify which of the following are declarations 1: extern int x; 2: float square ( float x) {... }3 double pow(double, double); land 3 Can we pass a variable argument list to a function at run-time? No hitpshwwu-aicpeindia.acirvexampractice_resut 56 star, 558 Pa AAIOPE - ONLINE EXAM Q58 Which of the following statements is wrong? Answer: count+S=result For a function receives variable number of arguments it is necessary that the function should 59 a receive at least one fixed argument. Answer: TRUE Q60 Null characteris represented by Answer: 0 htpsiwwu-aicpeinia.acivexampractice_resut 6

You might also like