#2
| |||
| |||
Re: Result For CRPF Head Constable
Visvesvaraya Technological University is a collegiate public state university in Karnataka State, India. It was established by the Government of Karnataka. Apart from a few notable exceptions, VTU has education authority in the state of Karnataka. As you Asking for the Viva Questions for the C Programming Lab of the VTU University for B.tech Students 1) What do you mean by Hardware and Software? All the electronic/electrical components and circuits used in a computer system are called hardware. A computer is actuated and controlled with the help of computer programs called software. 2) Mention the main components of a computer and their funtions. CPU (cenral processing unit) – to process the data Input Device – to enter the dat into the computer. Output Device – to display / print results by the computer. 3) What is Operating System(OS) ? An operating system is a collection of programs used to connect the user with the hardware It has the set of programs which controls the operations of the hardware components such as CPU, main memory, keyboard, monitor, printer and so on. 4) What is Algorithms? An algorithms refer to the step by step instructions written to solve any problem. 5) What is Flowchart ? A flowchart is a diagrammatic or symbolic representation of an algorithms. It uses various symbols to represent the operations to be performed. 6) Name the four basic data types in “C” language? The four basic data types in “c” language are as follows char – a character int – an integer, in the range -32,767 to 32,767 long int – a larger integer (up to +-2,147,483,647) float – a floating-point number double – a floating-point number, with more precision and perhaps greater range than float 7) Describe at least five different format specifiers? %d: -An integer whole number %f: -a floating point number %c: -a single character %s: -a string of value of characters. 8) Define and explain scanf () function? The Scanf () function can be used to get input into a program and it requires two arguments. First a format specifier defines the type of data to be entered, then the name of the variable in which the input will be stored. This scanf () function is responsible for giving input into the program. 9) Define and explain printf () function? The printf() function is used to display/output values of variable in the monitor. The printf function has general form: printf (“format specifiers”,variables) 10) What are the maximum and minimum possible ranges of values for long and short type? If the int variable is created by default as a ‘long’ type it typically will have a possible range of values from a maximum of +214748347 and a minimum of -2147483648. For ‘short’ type these are the maximum and minimum values +327676 and minimum -32768. (While answering this question you can specify the approximate value raised to power). 11) What is preprocessor? The preprocessor is a program which is executed before the compilation of a source program written by the user. The preprocessor directives begines with hash (#) followed by the command. e.g #include – it is a directive to include file. 12) What exactly is a ‘variable scope’, ‘local variables’ and ‘global variables’? The extent to which a variable is accessible in a program is called the ‘variable scope’. Variables declared internally inside a function are known as ‘local’ variables. Variables declared externally outside a function are known as ‘global’ variables. 13) What are signed values? When an int variable is declared it can by default contain either positive of negative integer values. These are known as ‘signed’ values. The range of positive values is determined by your system. 14) Define reserved words. C programs are constructed from a set of reserved words which provide control and from libraries which perform special functions. The basic instructions are built up using a reserved set of words, such as main, for, if,while, default, double, extern, for, and int, to name just a few. 15) What is the purpose of type declaration in C ? All variables used in a C program are declared using the appropriate data types to enable the compiler to allocate the required number by bytes in RAM to store values of these variables in memory 16) What is identifier ? An identifier is a name used to identify a variable, function, symbolic constsnt and so on. 17) Mention the different types of operators used in C ? 1. Artimetic operator 2. Relational operators 3. Logical Operators 4. Increment and decrement operators 5.Assignment operators 6.Conditional operator 7. Bitwise oprators 18) What is Loop control statements ? Loop control structures are used to execute and repeat a block of statements depending on the value of a condition. There are 3 types of loop control statements in C i. for loop ii. while loop iii. do – while loop 19) explain while loop . A while loop has one control expression, and executes as long as that expression is true. The general syntax of a while loop is while( expression ) { statements } we use a while loop when a statement or group of statements which may have to be executed a number of times to complete their task. The controlling expression represents the condition 20) explain for loop . A for loop is used to execute and repeat a block of statements depending on a condition. The syntax of a for loop is for( ; ; ) { statements } 21) What do mean by network ? Computer networking refers to connecting computers to share data, application software and hardware divices. Networks allow sharing of information among various computers and permit users to share files 22) List a few unconditional control statement in C. i) break statement ii) continue statement iii) goto statement iv) exit() function 23) What is an array ? An array is a collection of values of the same data type. Values in array are accessed using array name with subscripts in brackets[]. Synatax of array declaration is data type array_ name[size]; 24) What is Multidimensional Arrays An array with more than one index value is called a multidimensional array. To declare a multidimensional array you can do follow syntax data type array_ name[] [] []….; 25) Define string ? An array of characters is known as a string.for example char st[8]; this statement declares a string array with 80 characters . 26) Mention four important string handling functions in C languages . There are four important string handling functions in C languages . i) strlen(); ii) strcpy(); iii) strcat(); iv) strcmp(); The header file #include is used when these functions are called in a C program. For More details you may contact to the VTU University the Contact details Are given below Contact details : VTU University Address: Jnana Sangama, VTU Main Road, Machhe, Belagavi, Karnataka 590018 Phone: 0831 249 8196 |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CRPF Head Constable Exam Result | Unregistered | Main Forum | 2 | 17th March 2018 05:02 PM |
CRPF Head Constable Result of | Unregistered | Main Forum | 1 | 22nd November 2016 11:01 AM |
CRPF Head Constable Ministerial Recruitment | Unregistered | Main Forum | 1 | 15th November 2016 10:05 AM |
CRPF Head Constable Model Paper | Unregistered | Main Forum | 1 | 12th November 2016 11:43 AM |
CRPF Head Constable Exam Syllabus | Unregistered | Main Forum | 1 | 10th November 2016 03:18 PM |
Www. CRPF Head Constable Ministerial Result | Unregistered | Main Forum | 1 | 10th November 2016 11:38 AM |
CRPF Head Constable Result PDF | Unregistered | Main Forum | 1 | 2nd November 2016 11:50 AM |
CRPF Result Head Constable Ministerial Delhi | Unregistered | Main Forum | 1 | 1st November 2016 03:18 PM |
CRPF Head Constable ASI Admit Card | Unregistered | Main Forum | 1 | 25th October 2016 05:11 PM |
Www.Crpf.Nic.In Head Constable Answer Key | Unregistered | Main Forum | 1 | 22nd October 2016 10:36 AM |
CRPF Head Constable Ministerial Vacancy | Unregistered | Main Forum | 1 | 22nd October 2016 10:27 AM |
CRPF Head Constable Written Test Result of CRPF Head Constable Written Test | Unregistered | Main Forum | 1 | 21st October 2016 05:09 PM |
CRPF.Nic.In Head Constable Recruitment | Unregistered | Main Forum | 1 | 19th October 2016 11:48 AM |
Answer Key of CRPF Head Constable & Stenographer | Unregistered | Main Forum | 1 | 19th October 2016 10:06 AM |
CRPF Head Constable Admit Card-13 | Unregistered | Main Forum | 1 | 17th October 2016 11:04 AM |
CRPF Head Constable Recruitment Answer Key | Unregistered | Main Forum | 1 | 15th October 2016 11:28 AM |
Question Paper Of CRPF Head Constable | Unregistered | Main Forum | 1 | 15th October 2016 08:40 AM |
CRPF Head Constable Question Paper Pdf | Unregistered | Main Forum | 1 | 6th October 2016 11:39 AM |
CRPF Answer Key Head Constable Ministerial | Unregistered | Main Forum | 1 | 29th September 2016 08:47 AM |
CRPF ASI Head Constable Vacancy | Unregistered | Main Forum | 0 | 9th July 2015 02:30 PM |
Thread Tools | Search this Thread |
|