MS EXCEL 1 / 20 To add two cells (Al and A(2) together you use the following formula ? =A1+A2 =Add(A1+A(2) =together(A1:A(2) A1 plus A2 2 / 20 Using the F11 shortcut key to create a chart on chart sheet creates ? A default chart A 2-dimensional column chart A 2-dimensional bar chart A 3-dimensional line chart 3 / 20 Which of the following displays the contents of the active cell ? Active cell Formula bar Menu bar Name box 4 / 20 Which button do you click to add up a series of numbers ? The autosum button The Formula button The quicktotal button The total button 5 / 20 What function displays row data in a column or column data in a row ? Hyperlink Index Transpose Rows 6 / 20 To hold row and column titles in place so that they do not scroll when you scroll a worksheet click the ? Unfreeze panes command on the window menu Freeze panes command on the window menu Hold titles command on the edit menu Split command on the window menu 7 / 20 Hyperlinks can be ? Text Drawing objects Pictures All of above 8 / 20 Using the AutoSum button will replace in the selected cell ...... ? the sum of values in the cell's column nothing until you select a range of cells the sum of the cell's row unless you change the range a formula which will add values in the range Excel guesses you want to add 9 / 20 The multiplication arithmetic operator is represented by which of the following symbols ? ^ * / X 10 / 20 All formula in Excel start with ? % + = - 11 / 20 The intersection of a row and column is called ? data a field a cell an equation 12 / 20 To create a formula in Excel, you can use ? Values but not cell references Cell references but not values Values or cell references although not both at the same time Value and cell references 13 / 20 When you link data maintained in an excel workbook to a word document ? The word document can not be edit The word document contains a reference to the original source application The word document must contain a hyperlink The word document contains a copy of the actual data 14 / 20 Two common wildcard characters that Excel recognizes are ? * and ? ^ and / + and - 15 / 20 You can create hyperlinks from the Excel workbook to ? A webpage on company internet A web page on the internet Other Office 97 application documents All 16 / 20 An excel workbook is a collection of ? Workbooks Worksheets Charts Worksheets and charts 17 / 20 When you insert an Excel file into a Word document, the data are ? Hyperlinked Placed in a word table Linked Embedded 18 / 20 Excel files have a default extension of ? Xls Xlw Wkl 123 19 / 20 Which area in an excel window allows entering values and formulas ? Title bar Menu bar Formula bar Standard toolbar 20 / 20 Each cell in a Microsoft Office Excel document is referred to by its cell address, which is the ____________ ? cell's column label cell's column label and worksheet tab name cell's row label cell's row and column labels Your score isThe average score is 0% 0% Restart quiz MS WORD 1 / 20 If you type a word that is not in Word's dictionary, a wavy _________ underline appears below the word. ? red green blue black 2 / 20 Editing a document consists of reading through the document you've created, then ? Correcting your errors Printing it Saving it deleting it 3 / 20 The ___________ button on the Quick Access Tollbar allows you to cancel your recent commands or actions ? Search Cut Document Undo 4 / 20 In order to save an existing document with a different name you need to ? retype the document and give it a different name use the Save as command copy and paste the original document to a new document and then save use Windows Explorer to copy the document to a different location and then rename it 5 / 20 Which of the following shortcut key is used to check spelling ? F1 F2 F7 F9 6 / 20 The word processing task associated with changing the appearance of documents is ? Writing Formatting Editing Storing 7 / 20 What is the default file extension for all Word documents ? WRD TXT DOC FIL 8 / 20 Word processing, spreadsheet, and photo-editing are examples of _______. ? application software system software operating system software platform software 9 / 20 Why are headers and footers used in document ? To enhance the overall appearance of the document To mark the starting and ending of a page To make large document more readable To allow page headers and footers to appear on document when it is printed 10 / 20 Which of the following displays the buttons for changing text style, alignment and size ? Standard toolbar Status bar Drawing toolbar Formatting toolbar 11 / 20 What menu is selected to print ? Edit Special File Tools 12 / 20 The quickest and easiest way in Word, to locate a particular word or phrase in a document is to use the _________ command ? Replace Find Lookup Search 13 / 20 What type of software is used for creating letters papers and other documents ? database Word Processor Spreadsheet Operating Program 14 / 20 Changing an existing document is called ________ the document ? creating editing modifying adjusting 15 / 20 To print a document, press __________ then press ENTER ? SHIFT + P CTRL + P ALT+ P ESC + P 16 / 20 What does Ctrl + B shortcut accomplish in Ms-Word ? It converts selected text into the next larger size of the same font It adds a line break to the document It makes the selected text bold It applies Italic formatting the selected text 17 / 20 Graphics for word processor ? Peripheral Clip art Highlight Execute 18 / 20 In order to save a Word document as a web page you need to ? put the appropriate graphics and links on the document save the document in simple text format use your web browser as an editor and save as URL Save as HTML 19 / 20 A saved document is referred to as a __________ ? file word folder project 20 / 20 A word processor would most likely be used to do which of the following ? keep an account to money spent maintain an inventory type a biography None of these Your score isThe average score is 0% 0% Restart quiz COMPUTER FUNDAMENTAL MISCELLANEOUS 1 / 20 Who has created LISP, the Programming Language for Artificial Intelligence ? Grace Hopper John McCarthy Charles Bachman Leslie Lamport 2 / 20 In the field of computing, what does VRML stand for ? Virtual Reality MarkUp Language Visual Reality MarkUp Language Virtual Reality Machine Language Visual Reality Machine Language 3 / 20 In a computer, which unit is responsible for processing data and is also called the electronic brain of the computer ? Central Processing Unit (CPU) Hard Disk RAM Keyboard 4 / 20 Which of the following symbols must be used before a formula in a Microsoft Excel sheet ? = & $ @ 5 / 20 Which of the following pairs is NOT matched correctly ? Alt + E – Edit options in current program Alt + Shift + D – Insert the current date Ctrl + K – Cut selected text Ctrl + A – Select all text 6 / 20 Who has developed the Automatically Programmable Tool (APT) ? Gary Kildall Douglas T Ross Ralph H Baer Jonathan Fletcher 7 / 20 What is the full form of BASIC in context of the BASIC computer language ? Beginner’s All-purpose Symbolic Input Code Beginner’s All-purpose Systematic Instruction Code Beginner’s All-purpose Symbolic Input-output Code Beginner’s All-purpose Symbolic Instruction Code 8 / 20 Which of the following consists of an electronic writing area and a special ‘pen’ that works with it ? Trackball Plotters Abacus Graphics Tablet 9 / 20 In which year did the JavaScript Programming language come into existence ? 2000 1990 1995 1999 10 / 20 The F7 key is commonly used in Microsoft programs such as Microsoft Word, Outlook, etc. for: ? opening help checking spellings and grammar searching content in various apps renaming files and folders 11 / 20 Which of the following options correctly defines a firewall (in the context of computing) ? It is the name of a software. It is a hardware device. It is a combination of both, software and hardware devices to permit or deny network transmission based on a set of rules It is a combination of software and hardware-based devices to permit any and every network transmission. 12 / 20 In the world of Computers, what is ‘Ubuntu’ ? A firewell developed by Microsoft Open Source Linux Operating System An ERP system from SAP Latest financial software package by Infosys 13 / 20 In which of the following countries was the first Electronic Numerical Integrator and Computer, the first programmable general purpose electronic digital computer, developed ? United Kingdom China Japan United States of America 14 / 20 1 Petabyte (PB) = 1024 ______ ? Zettabytes Exabytes Terabytes Gigabytes 15 / 20 In the context of computers, WORM is an acronym of: ? Write Once, Read Many Wireless Operating, Read Module Word Optical, Recognition Malware Word On, RAM Memory 16 / 20 Which of the following converts analogue information into digital form ? Optical Mark Reading Barcode reader Digitizer Gamepad 17 / 20 Which function key displays the Print Preview window in Microsoft Office ? Alt+F2 Alt+Ctrl+F2 Ctrl+F2 Shift+F2 18 / 20 In the field of computing, what does VGA stand for ? Visual Graphics Array Video Graphics Array Video Graphics Audio Visual Graphics Audio 19 / 20 A hard disk is an example of which type of data storage device ? Primary Storage Secondary Storage Offline Storage Tertiary Storage 20 / 20 A region of computer memory where frequently accessed data can be stored for rapid access is called: ? Cookie Plug-in Token Cache Your score isThe average score is 0% 0% Restart quiz COMPUTER FUNDAMENTAL MISCELLANEOUS 1 / 20 Who among the following invented the Computer language, COBOL ? Grace Murray Hopper John McCarthy Guido van Rossum Brendan Eich 2 / 20 The first barcode system was developed by: ? Norman Joseph Woodland John Mc Carthy John Barger David Bradley 3 / 20 Which of the following is used to receive and send computer files over telephone lines ? Modem MICR device Floppy disk Light pen 4 / 20 _____ was a web browser developed by the National Centre for Supercomputing Application (NCSA) ? Opera Mosaic Navigator Safari 5 / 20 In Microsoft Office 2016, which shortcut key is used to open the Design tab ? Ctrl + A Shift + F3 Alt + G Ctrl + K 6 / 20 What does HLL stand for in computing ? High Low Language Hyper Level Language High Level List High Level Language 7 / 20 Which of the following is not a softcopy devices ? Plotter Projector Monitor Speaker 8 / 20 Which of the following is a very high-speed semiconductor memory which can speed up the CPU ? Cache Memory Main Memory Secondary Memory Primary Memory 9 / 20 Which of the following is a type of memory and is similar to RAM? It is used by computers to move data between the RAM and the CPU ? Hypertext Link ROM Cache I Beam 10 / 20 Which of the following is a lever that can be moved in several directions to control the movement of an image on a computer monitor or similar display screen ? MIDI Devices Optical Mark Reader Joystick Visual Display Unit 11 / 20 Which function key is used for opening help ? F4 F3 F1 F2 12 / 20 Which technology do third generation computers use ? Integrated circuits Transistors Microprocessors Vacuum tubes 13 / 20 In the context of memory size in computer data storage, one gigabyte is equal to how many megabytes ? 32 MB 1012 MB 64 MB 1024 MB 14 / 20 Linux is _____ ? an interpreter an operating system an assembly language a high level language 15 / 20 Python is a ______ ? high level language assembly language low level language machine language 16 / 20 Which of the following is NOT an e-commerce website ? Uber Swiggy Flipkart Google Maps 17 / 20 Which shortcut key is used for previewing the page before printing? CTRL + F6 CTRL + F10 CTRL + F2 CTRL + F5 18 / 20 Which of the following is NOT one of the tools of Robotics Process ? Blue Prism Ui Path Automation Anywhere Power Center 19 / 20 In which year was Google incorporated as a private company ? 2000 2005 2002 1998 20 / 20 ‘Pivot Table’ is a feature of which of the following softwares ? Microsoft Excel Microsoft Word Microsoft Access Microsoft Powerpoint Your score isThe average score is 73% 0% Restart quiz COMPUTER FUNDAMENTAL MISCELLANEOUS 1 / 20 Which of the following is NOT a portable device ? iPods Laptops Desktop computers Thumb drives A portable device is any device that can be carried easily. Desktop computers are not portable devices. 2 / 20 ___ is the central server in computer network which lets the concerned user utilise the storage capacity of the server ? Application Server File Server Print Server Web Server A file server is a central server in a computer network that provides file systems or at least parts of a file system to connected clients. File servers therefore offer users a central storage place for files on internal data media, which is accessible to all authorized clients. 3 / 20 What is the shortcut key for the central alignment of a line or text in MS Office software ? Ctrl+E Ctrl+C Ctrl+G Ctrl+A ‘Ctrl+E’ is the shortcut key for the central alignment of a line or text in MS Office software. 4 / 20 Third generation computers used: ? vacuum tubes integrated circuits Transistors VLSI technique First generation: Vacuum tube based, Second generation: Transistor based, Third generation: Integrated circuit based, Fourth generation: VLSI microprocessor based, Fifth generation: ULSI microprocessor based. 5 / 20 A computer on the Internet that uses HTTP protocol is known as: ? LAN Web Server WAP WLAN 6 / 20 How many function keys are present on a standard PC keyboard ? 10 9 12 15 7 / 20 Which type of computers is used to control air traffic and radar of national defence ? Personal computers Analogue computers Hybrid computers Digital computers 8 / 20 Trackball is which of the following devices ? Input device Touchpad Output device Barcode reader A trackball is a pointing input device. It consists of a ball held by a socket containing sensors to detect a rotation of the ball about two axes. The user rolls the ball with the thumb, fingers or the palm of the hand to move a cursor. 9 / 20 Transistors belong to which of the following generation of the computers ? First Second Third Fourth First Generation -Vacuum Tubes, Second Generation - Transistors, Third Generation - Integrated Circuits, Fourth Generation - Microprocessors 10 / 20 Which of the following is an input device of a computer ? Speaker Printer Scanner Monitor Scanner is an input device. 11 / 20 Which of the following devices is NOT used to enter data into a computer ? Mouse Keyboard Scanner Monitor Monitor is an output device. 12 / 20 _____ is a small, portable flash memory card that plugs into a computer’s USB port and functions as a portable hard drive ? Flash drive CD-RW DVD-ROM CD-ROM A USB flash drive is a plug and play portable storage device that uses flash memory. A USB flash drive can be used in place of a compact disc. When a user plugs the flash memory device into the USB port, the computer’s operating system recognizes the device as a removable drive and assigns it a drive letter. 13 / 20 In the context of computing, a byte is equal to _____ bits ? 4 16 24 8 14 / 20 Which of the following is an input device used to enter motion data in computers or other electronic devices ? Monitor Trackball Plotter Joystick 15 / 20 In the context of computing, what is the full form of URL ? Undistributed Resource Locator Unified Resource Locator Uniform Resource Locator Uniform Region Locator 16 / 20 What is the full form of PROM ? Program read-only memory Primary read-only memory Programmable read-only memory Program read-output memory 17 / 20 Which unit of the computer is considered as the brain of the computer ? Memory unit Input unit CPU Output unit Central Processing Unit (CPU) is considered as the brain of the computer because it contains all the circuitry needed to process input, store data and output results 18 / 20 In the context of digital computer, which of the following pairs of digits is referred to as binary code ? 3 and 4 0 and 1 2 and 3 1 and 2 In computers all data is represented as binary codes. That is, all data is represented as strings of 0s and 1s. 19 / 20 Which of the following is NOT an anti-virus software ? Avast Linux Norton Kaspersky 20 / 20 _______ is the smallest unit of data in a computer ? Gigabyte Bit Byte Terabyte Your score isThe average score is 88% 0% Restart quiz COMPUTER FUNDAMENTAL MISCELLANEOUS 1 / 21 In the context of digital computer, which of the following pairs of digits is referred to as binary code ? 3 and 4 0 and 1 2 and 3 1 and 2 2 / 21 Who among the following invented the World Wide Web (www) in 1989 ? Bill Gates Steve Wozniak Tim Berners-Lee Charles Babbage 3 / 21 A database used by Microsoft Windows for storing configuration information is known as: ? Registry Record Cookie Cache 4 / 21 Which of the following is a supercomputer developed by India ? Param Yuva 2 Onshape Venngage Pixir 5 / 21 In computing, _______ is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. ? cookie spyware spam firewall 6 / 21 In computer terminology, what is the full form of RAM ? Random Access Memory Repeated Access Memory Rapid Access Memory Regular Access Memory 7 / 21 AIX is the operating system of which company ? Apple Unisys IBM Microsoft 8 / 21 Second Generation computers can be characterized largely by their use of : ? Integrated Circuits Vacuum Tubes Microprocessors Transistors 9 / 21 Who among the following pioneered Binary Logic and Arithmetic in Computers Programming ? Noam Chomsky Leslie Lamport John Backus Claude Shannon 10 / 21 Desktop Computers, Laptop Computers, tablets and smartphones are different types of _______ ? Supercomputers Mainframe Computers Microcomputers Minicomputers 11 / 21 Who designed the first analog computer in India ? Samarendra Kumar Mitra Deb Kumar Bose Subodh Chandra Das Gupta Bimal Kumar Bhattacharyya 12 / 21 What is ' Roadeo' ? A robot that cleans city roads A robot that fills potholes A robot that drives taxis A robot that helps maintain traffic 13 / 21 In the field of information and communication technology, what is the full form of FDD ? Folder Disk Drive Floppy Disk Drive Folder Data Drive Floppy Data Drive 14 / 21 Which company manufactured the first microprocessor 4004 ? ENOcean Private Company NVIDIA Corporation PLX Devices INTEL Corporation 15 / 21 'Nibble' in computer terminology is also called ________ ? Bit Half bit Half byte Byte 16 / 21 Which of the following is an input device that utilises a light-sensitive detector to select objects on a display screen ? Light pen Bar code reader Optical mark recognition (OMR) Magnetic ink character recognition (MICR) 17 / 21 Which of the following is an input device that utilises a light-sensitive detector to select objects on a display screen ? Light pen Bar code reader Optical mark recognition (OMR) Magnetic ink character recognition (MICR) 18 / 21 The speed of the Central Processing Unit (CPU) is measured in_________, which represents a CPU cycle ? Gigabyte (GB) Hertz (Hz) Terabyte (TB) Kilobyte (KB) 19 / 21 In the field of computing, what does ENIAC stand for ? Electronic Numerical Integrator and Computer Electronic Numerical Integrated Advanced Computer Electronic Numerals Integration and Computing Electronic Numbers Integration and Computer 20 / 21 _____ is a diagrammatic representation of a program logic. ? Process Flowchart Data Legend 21 / 21 _____ is the fastest to read from and write to than the other kinds of storage in a computer. ? CD-ROM Floppy disk RAM Hard disk Your score isThe average score is 76% 0% Restart quiz Declarations and Initializations 1 / 20 1 :typedef long a;extern int a c;2 :typedef long a;extern a int c;3 :typedef long a;extern a c; 1 correct 2 correct 3 correct 1, 2, 3 are correct typedef long a;extern int a c; while compiling this statement becomes extern int long c;. This will result in to "Declaration syntax error".typedef long a;extern a int c; while compiling this statement becomes extern long int c;. This will result in to "Too many types in declaration error".typedef long a;extern a c; while compiling this statement becomes extern long c;. This is a valid c declaration statement. It says variable c is long data type and defined in some other file or module.So, Option C is the correct answer. 2 / 20 Which of the following correctly represents a long double constant? 6.68 6.68L 6.68f 6.68LF 6.68 is double.6.68L is long double constant.6.68f is float constant.6.68LF is not allowed in c. 3 / 20 Which of the following operations are INCORRECT? int i = 35; i = i%5; short int j = 255; j = j; long int k = 365L; k = k; float a = 3.14; a = a%3; float a = 3.14; a = a%3; gives "Illegal use of floating point" error.The modulus (%) operator can only be used on integer types. We have to use fmod() function in math.h for float values. 4 / 20 Which of the declaration is correct? int length; char int; int long; float double; int length; denotes that variable length is int(integer) data type.char int; here int is a keyword cannot be used a variable name.int long; here long is a keyword cannot be used a variable name.float double; here double is a keyword cannot be used a variable name.So, the answer is int length;(Option A). 5 / 20 What is the output of the program#include<stdio.h>int main(){ struct emp { char name[20]; int age; float sal; }; struct emp e = {"Tiger"}; printf("%d, %f\n", e.age, e.sal); return 0;} 0, 0.000000 Garbage values Error None of above When an automatic structure is partially initialized remaining elements are initialized to 0(zero). 6 / 20 What is the output of the program in Turbo C (in DOS 16-bit OS)?#include<stdio.h>int main(){ char *s1; char far *s2; char huge *s3; printf("%d, %d, %d\n", sizeof(s1), sizeof(s2), sizeof(s3)); return 0;} 2, 4, 6 4, 4, 2 2, 4, 4 2, 2, 2 Any pointer size is 2 bytes. (only 16-bit offset)So, char *s1 = 2 bytes.So, char far *s2; = 4 bytes.So, char huge *s3; = 4 bytes.A far, huge pointer has two parts: a 16-bit segment value and a 16-bit offset value.Since C is a compiler dependent language, it may give different output in other platforms. The above program works fine in Windows (TurboC), but error in Linux (GCC Compiler). 7 / 20 What is the output of the program?#include<stdio.h>int main(){ extern int a; printf("%d\n", a); return 0;}int a=20; 20 0 Garbage Value Error extern int a; indicates that the variable a is defined elsewhere, usually in a separate source code module.printf("%d\n", a); it prints the value of local variable int a = 20. Because, whenever there is a conflict between local variable and global variable, local variable gets the highest priority. So it prints 20. 8 / 20 What will be the output of the program in 16 bit platform (Turbo C under DOS)?#include<stdio.h>int main(){ extern int i; i = 20; printf("%d\n", sizeof(i)); return 0;} 2 4 vary from compiler Linker Error : Undefined symbol 'i' Linker Error : Undefined symbol 'i'The statement extern int i specifies to the compiler that the memory for 'i' is allocated in some other program and that address will be given to the current program at the time of linking. But linker finds that no other variable of name 'i' is available in any other program with memory space allocated for it. Hence a linker error has occurred. 9 / 20 What is the output of the program given below ?#include<stdio.h>int main(){ enum status { pass, fail, atkt}; enum status stud1, stud2, stud3; stud1 = pass; stud2 = atkt; stud3 = fail; printf("%d, %d, %d\n", stud1, stud2, stud3); return 0;} 0, 1, 2 1, 2, 3 0, 2, 1 1, 3, 2 enum takes the format like {0,1,2..) so pass=0, fail=1, atkt=2stud1 = pass (value is 0)stud2 = atkt (value is 2)stud3 = fail (value is 1)Hence it prints 0, 2, 1 10 / 20 When we mention the prototype of a function? Defining Declaring Prototyping Calling A function prototype in C or C++ is a declaration of a function that omits the function body but does specify the function's name, argument types and return type.While a function definition specifies what a function does, a function prototype can be thought of as specifying its interface. 11 / 20 In the following program where is the variable a getting defined and where it is getting declared?#include<stdio.h>int main(){ extern int a; printf("%d\n", a); return 0;}int a=20; extern int a is declaration, int a = 20 is the definition int a = 20 is declaration, extern int a is the definition int a = 20 is definition, a is not defined a is declared, a is not defined - During declaration we tell the datatype of the Variable.- During definition the value is initialized. 12 / 20 Identify which of the following are declarations1 :extern int x;2 :float square ( float x ) { ... }3 :double pow(double, double); 1 2 1 and 3 3 extern int x; - is an external variable declaration.double pow(double, double); - is a function prototype declaration.Therefore, 1 and 3 are declarations. 2 is definition. 13 / 20 Is the following statement a declaration or definition?extern int i; Declaration Definition Function Error Declaring is the way a programmer tells the compiler to expect a particular type, be it a variable, class/struct/union type, a function type (prototype) or a particular object instance. (ie. extern int i)Declaration never reserves any space for the variable or instance in the program's memory; it simply a "hint" to the compiler that a use of the variable or instance is expected in the program. This hinting is technically called "forward reference". 14 / 20 Which of the following is not user defined data type?1 :struct book{ char name[10]; float price; int pages;};2 :long int l = 2.35;3 :enum day {Sun, Mon, Tue, Wed}; 1 2 3 Both 1 and 2 C data types classification are Primary data typesintcharfloatdoublevoidSecondary data types (or) User-defined data typeArrayPointerStructureUnionEnum So, clearly long int l = 2.35; is not User-defined data type.(i.e.long int l = 2.35; is the answer.) 15 / 20 By default a real number is treated as a float double long double far double In computing, 'real number' often refers to non-complex floating-point numbers. It include both rational numbers, such as 42 and 3/4, and irrational numbers such as pi = 3.14159265...When the accuracy of the floating point number is insufficient, we can use the double to define the number. The double is same as float but with longer precision and takes double space (8 bytes) than float.To extend the precision further we can use long double which occupies 10 bytes of memory space. 16 / 20 How would you round off a value from 1.66 to 2.0? ceil(1.66) floor(1.66) roundup(1.66) roundto(1.66) /* Example for ceil() and floor() functions: */#include<stdio.h>#include<math.h>int main(){ printf("\n Result : %f" , ceil(1.44) ); printf("\n Result : %f" , ceil(1.66) ); printf("\n Result : %f" , floor(1.44) ); printf("\n Result : %f" , floor(1.66) ); return 0;}// Output:// Result : 2.000000// Result : 2.000000// Result : 1.000000// Result : 1.000000 17 / 20 Is there any difference between following declarations?1 :extern int fun();2 :int fun(); Both are identical No difference, except extern int fun(); is probably in another file int fun(); is overrided with extern int fun(); None of these extern int fun(); declaration in C is to indicate the existence of a global function and it is defined externally to the current module or in another file.int fun(); declaration in C is to indicate the existence of a function inside the current module or in the same file. 18 / 20 Which of the following special symbol allowed in a variable name? * (asterisk) | (pipeline) - (hyphen) _ (underscore) Variable names in C are made up of letters (upper and lower case) and digits. The underscore character ("_") is also permitted. Names must not begin with a digit.Examples of valid (but not very descriptive) C variable names:=> foo=> Bar=> BAZ=> foo_bar=> _foo42=> _=> QuUx 19 / 20 What are the types of linkages? Internal and External External, Internal and None External and None Internal External Linkage-> means global, non-static variables and functions.Internal Linkage-> means static variables and functions with file scope.None Linkage-> means Local variables. 20 / 20 Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = 3.14 % 2.1; rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. fmod(x,y) - Calculates x modulo y, the remainder of x/y.This function is the same as the modulus operator. But fmod() performs floating point divisions.Example:#include <stdio.h>#include <math.h>int main (){ printf ("fmod of 3.14/2.1 is %lf\n", fmod (3.14,2.1) ); return 0;} Your score isThe average score is 0% 0% Restart quiz Pointers 1 / 20 What will be the output of the program ?#include<stdio.h>int main(){ void *vp; char ch=74, *cp="JACK"; int j=65; vp=&ch; printf("%c", *(char*)vp); vp=&j; printf("%c", *(int*)vp); vp=cp; printf("%s", (char*)vp+2); return 0;} JCK J65K JAK JACK 2 / 20 What will be the output of the program if the size of pointer is 4-bytes?#include<stdio.h>int main(){ printf("%d, %d\n", sizeof(NULL), sizeof("")); return 0;} 2, 1 2, 2 4, 1 4, 2 3 / 20 What will be the output of the program ?#include<stdio.h>int *check(static int, static int);int main(){ int *c; c = check(10, 20); printf("%d\n", c); return 0;}int *check(static int i, static int j){ int *p, *q; p = &i; q = &j; if(i >= 45) return (p); else return (q);} 10 20 Error: Non portable pointer conversion Error: cannot use static for function parameters 4 / 20 What will be the output of the program ?#include<stdio.h>int main(){ char *str; str = "%s"; printf(str, "K\n"); return 0;} Error No output K %s 5 / 20 What will be the output of the program ?#include<stdio.h>void fun(void *p);int i;int main(){ void *vptr; vptr = &i; fun(vptr); return 0;}void fun(void *p){ int **q; q = (int**)&p; printf("%d\n", **q);} Error: cannot convert from void** to int** Garbage value 0 No output 6 / 20 Which of the following statements correct about k used in the below statement?char ****k; k is a pointer to a pointer to a pointer to a char k is a pointer to a pointer to a pointer to a pointer to a char k is a pointer to a char pointer k is a pointer to a pointer to a char 7 / 20 Which of the following statements correctly declare a function that receives a pointer to pointer to a pointer to a float and returns a pointer to a pointer to a pointer to a pointer to a float? float **fun(float***); float *fun(float**); float fun(float***); float ****fun(float***); 8 / 20 What will be the output of the program If the integer is 4bytes long?#include<stdio.h>int main(){ int ***r, **q, *p, i=8; p = &i; q = &p; r = &q; printf("%d, %d, %d\n", *p, **q, ***r); return 0;} 8, 8, 8 4000, 4002, 4004 4000, 4004, 4008 4000, 4008, 4016 9 / 20 What will be the output of the program ?#include<stdio.h>int main(){ char str[20] = "Hello"; char *const p=str; *p='M'; printf("%s\n", str); return 0;} Mello Hello HMello MHello 10 / 20 What will be the output of the program ?#include<stdio.h>int main(){ int x=30, *y, *z; y=&x; /* Assume address of x is 500 and integer is 4 byte size */ z=y; *y++=*z++; x++; printf("x=%d, y=%d, z=%d\n", x, y, z); return 0;} x=31, y=502, z=502 x=31, y=500, z=500 x=31, y=498, z=498 x=31, y=504, z=504 11 / 20 What will be the output of the program ?#include<stdio.h>int main(){ int i=3, *j, k; j = &i; printf("%d\n", i**j*i+*j); return 0;} 30 27 9 3 12 / 20 What will be the output of the program ?#include<stdio.h>int main(){ static char *s[] = {"black", "white", "pink", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s", **p+1); return 0;} ink ack ite let 13 / 20 The operator used to get value at address stored in a pointer variable is * & && || 14 / 20 A pointer is A keyword used to create variables A variable that stores address of an instruction A variable that stores address of other variable All of the above 15 / 20 What would be the equivalent pointer expression for referring the array element a[i][j][k][l] ((((a+i)+j)+k)+l) *(*(*(*(a+i)+j)+k)+l) (((a+i)+j)+k+l) ((a+i)+j+k+l) 16 / 20 If a 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? . & * -> 17 / 20 How many bytes are occupied by near, far and huge pointers (DOS)? near=2 far=4 huge=4 near=4 far=8 huge=8 near=2 far=4 huge=8 near=4 far=4 huge=8