This download link is referred from the post: VTU B.Tech 1st Year Last 10 Years 2011-2021 Question Papers
FirstRanker.com
Firstranker's choice
USN
--- Content provided by FirstRanker.com ---
CHIKODI
College of Engg & Tec
First/Second Semester B.E. Degree Examination, June/July 2014
Computer Concepts and C Programming
Time: 3 hrs.
--- Content provided by FirstRanker.com ---
Max. Marks:100
Note: 1. Answer any FIVE full questions, choosing at least two from each part.
2. Answer all objective type questions only in OMR sheet page 5 of the answer booklet.
3. Answer to objective type questions on sheets other than OMR will not be valued.
PART — A
--- Content provided by FirstRanker.com ---
1 a. Choose the correct answers for the following : (04 Marks)
- A computer converts data into this
- information
- charts
- software
- input or output
--- Content provided by FirstRanker.com ---
- A device that holds a disk is called
- drive
- RAM
- ROM
- memory
--- Content provided by FirstRanker.com ---
- The terms dots per inch (dpi) refers to
- printer resolution
- printer speed
- printer output
- The earliest computer were
- digital
- paper
- analog
- slide rule
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
b. Differentiate between system software and application software. (06 Marks)
c. Explain with example, different type of printers. (10 Marks)
2 a. Choose the correct answers for the following : (04 Marks)
- FTP sites are often called
- WWW
- GUI
- File security
- Protection from virus
--- Content provided by FirstRanker.com ---
- is one of the benefits using network.
- Peripheral sharing
- Folder creation
--- Content provided by FirstRanker.com ---
- DOS and Linux are examples of interface.
- channels
- groups
- domain
-
- old fashion
- command line
- parallel
--- Content provided by FirstRanker.com ---
b. Explain in detail, various types of network topologies. (10 Marks)
--- Content provided by FirstRanker.com ---
c. Define the following: i) Thrashing ii) Buffering iii) Spooling (06 Marks)
3 a. Choose the correct answers for the following : (04 Marks)
- Which of the following is a character constant?
- %c
- "c"
- "b"
- "?"
--- Content provided by FirstRanker.com ---
- Which field specification is used to refer short int?
- %c
- %d
- %fd
- %hd
--- Content provided by FirstRanker.com ---
- A nibble is
- 4 bits
- 8 bits
- 16 bits
- 32 bits
--- Content provided by FirstRanker.com ---
- Identify formatted console input function.
- getchar()
- gets()
- scanf()
- fgets()
--- Content provided by FirstRanker.com ---
b. Explain the structure of a C program. (06 Marks)
c. What are the different types of input and output functions? (10 Marks)
--- Content provided by FirstRanker.com ---
4 a. Choose the correct answers for the following : (04 Marks)
- is name given to the memory location where data can be stored, accessed and manipulated.
- string
- keyword
- reserved word
- variable
--- Content provided by FirstRanker.com ---
- The data type does not occupy any space in the memory.
- long int
- float
- void
- double
--- Content provided by FirstRanker.com ---
- An operator which acts on 3 operands
- Unary operator
- Key operator
- Binary operator
- Ternary operator
--- Content provided by FirstRanker.com ---
- What is the output of the following code?
main (){printf ("%d", 'A');}
- 65
- A
- 65.0
- Error
--- Content provided by FirstRanker.com ---
b. Evaluate the expressions where a = 8, b = 15, c = 4.
i) 2*((a%5)*(4+(b - 3)/(c + 2)))
ii) 100/20 <= 10 — 5 + 100 % 10 — 20 == 5 > -- 1! = 20 (06 Marks)
--- Content provided by FirstRanker.com ---
c. Write a C program to find and output all the roots of a quadratic equation for non zero coefficients. (10 Marks)
PART — В
5 a. Choose the correct answers for the following : (04 Marks)
- The default return type of function is
- int
- float
- char
- void
--- Content provided by FirstRanker.com ---
- Which is the user defined function?
- main()
- sqrt()
- clrscr()
- gets()
--- Content provided by FirstRanker.com ---
- A function that calls itself is known as
- recursive function
- iterative function
- main function
- none of these
--- Content provided by FirstRanker.com ---
- Parameters passed as arguments to the function call are called as
- actual parameters
- formal parameters
- no parameters
- none of these
--- Content provided by FirstRanker.com ---
b. Design and develop a function right that returns the value of the integer x rotated to the right by n bit positions as an unsigned integer. Invoke the function from the main with different values for x and n and print the results with suitable headings. (08 Marks)
c. How are functions categorized based on the value returned by the function and parameter accepted? (08 Marks)
--- Content provided by FirstRanker.com ---
6 a. Choose the correct answers for the following: (04 Marks)
- Each case statement in switch is separated by
- break
- continue
- exit
- goto
--- Content provided by FirstRanker.com ---
- Several statements grouped together in braces is called
- compound
- equivalent
- complex
- simple
--- Content provided by FirstRanker.com ---
- In C language, "x?y:z" is equivalent to
- if (x == 0)y; else z;
- if (x == 1)z; else y;
- if (x == 0)y; z;
- if (x == 1)y; else z;
--- Content provided by FirstRanker.com ---
- How many times is the following loop executed
for (i = 0; i <= 5; i++){printf ("Hello");}
- 1
- 6
- zero
- infinite
--- Content provided by FirstRanker.com ---
b. Write a C program to find the sum of N natural numbers. (08 Marks)
c. What is the purpose of a switch case statement? Explain with syntax. (08 Marks)
7 a. Choose the correct answers : (04 Marks)
--- Content provided by FirstRanker.com ---
- The number of elements in array A[3][4] is
- 8
- 12
- 16
- none of these
- If A[4] is declaration, then the first and last array index will be
- 1,4
- 0, 3
- 3,0
- none of these
- A function that is used to string copy is
- strcopy()
- strcpy()
- copystring()
- concat()
- Given A[3][2] = {1, 2, 3, 4, 5, 6}; The element in 3 rd row 2nd col is
- 3
- 4
- 6
- 2
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
b. Explain initialization and declaration of 2D array. (08 Marks)
c. Write a C program to input N integers in a single dimensional array and sort them in ascending order using Bubble sort. (08 Marks)
8 a. Choose the correct answers for the following : (04 Marks)
- execution of an instruction in a computer system is referred as parallel computation.
- Sequential
- Serial
- Accurate
- Simultaneous
--- Content provided by FirstRanker.com ---
- Open MP stands for
- open multi parallelism
- organized multi programming
- open multi programming
- organized multi parallelism
--- Content provided by FirstRanker.com ---
- An example of environment variable in open MP is
- OMP_thread_limit
- OMP init lock
- OMP_thread_ref
- OMP get byname
--- Content provided by FirstRanker.com ---
- Which of the following can be used as resource in parallel computing?
- Single computer with multi process
- Network of computers
- Combination of above
- None of these
--- Content provided by FirstRanker.com ---
b. What are threads? Give the advantages and disadvantages of multiple threads. (08 Marks)
c. Design and develop a parallel program in C to determine and print prime numbers using Sieve of Eratosthenes. (08 Marks)
--- Content provided by FirstRanker.com ---
This download link is referred from the post: VTU B.Tech 1st Year Last 10 Years 2011-2021 Question Papers
--- Content provided by FirstRanker.com ---