PREVIOUS YEAR QUESTION PAPER

GE8151 – COMPUTING TECHNIQUES

Anna University

Regulation 2012 Semester 1 2012

Question Paper Details

University Anna University
Degree Common to all Subjects
Department Common to all Subjects
Regulation Regulation 2012
Semester 1
Subject Code GE8151
Subject Name COMPUTING TECHNIQUES
Exam Session April / May 2012
Duration 3 Hours
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

19Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
4Choice candidates

Part-wise extracted questions

Part A10
Part B9

Question type candidates

Other Or Unclassified15
Definition3
Short Description1

Section marks — arithmetic candidates

Part A20 marks
Part B80 marks

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B51680

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B144.0 min

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part B — Question 12: Option a · Option b
Part B — Question 13: Option a · Option b
Part B — Question 14: Option a · Option b
Part B — Question 15: Option a · Option b

Question navigator

Extracted questions

Part A — 1

What are the factors on which the computers are classified ?

Definition

Source quality review required

Part A — 2

Convert the decimal value 372 into its equivalent Binary and Hexadecimal numbers.

Other Or Unclassified

Source quality review required

Part A — 3

Write the output of the following C program : main () { int a,b,c; a=17+23 %7/6; b=17%23- 7-6; c=(2*b)/(14% 5); printf (“%d %d, a, c);

Other Or Unclassified

Source quality review required

Part A — 4

Combine the following 3 staternents into a single statement : yey; z=1ty, X=X+Z;

Other Or Unclassified

Source quality review required

Part A — 5

Why the index of array starts from 0 instead of 1?

Other Or Unclassified

Source quality review required

Part A — 6

Correét error, if ahy if the following statements : char city[15]="Chennai”, district[1 5]; district = city;

Other Or Unclassified

Source quality review required

Part A — 7

What is the output of the following printf statement ? char name[25]="Anna university”; printf(‘\n %s”, &name[5]);

Definition

Source quality review required

Part A — 8

Write any two advantages of “function”.

Other Or Unclassified
Exact text match in other eligible papers: NOV_DEC 2012
Part A — 9

What is macro ?

Definition
Part A — 10

Name any two storage classes. '

Short Description
Part B — 11

i) What are the major components of a general purpose computer? Explain with neat block diagram. (10) ii) Draw a flow chart to find the roots of a quadratic equation (6)

Other Or Unclassified

Source quality review required

Part B — 12a

a) i) What are the basic data types in C ? For each, specify number of bytes allocated and the compatible operators, with example (8) ii) Explain the usage of “switch-case” statement with example (8)

Other Or Unclassified

Source quality review required

Part B — 12b

b) i) Write a C program to search and delete a number from the given array. Show the array after deletion, otherwise display, "Not Found”. (e.g). Delete 4 from array (10, 3, 8, 11, 4, 9, 6} results in (10, 3, 8, 11, 9, 6}. (8) ii) Write necessary statements for the following : (2+2+4 = 8) (|) if ais greater than b, set x equal to -15.2, but if a is less than or equal to b, set x equal to 73.8 (Il) If flies between 7 & 16 inclusive and if at the same time j also lies between 5 & 14 inclusive, set k equal to i= j, otherwise k equal 1௦ i-j (Ill) To display 1, -4, 9, -16, 25, ... -100

Other Or Unclassified

Source quality review required

Part B — 13a

a) i) Write any four string functions and explain its usage with example. (8) ii) What is the limitation of getting sting input using scanf(“%s”") ? Write any two ways to overcome it. (8)

Other Or Unclassified

Source quality review required

Part B — 13b

b) i) How values are stored in two dimensional arrays? Write a C program to find the transpose of a matrix for the given size. (8) ii) Write a C program to store non-zero integer values into a two dimensional square matrix of given size n. Replace the right diagonal values with ‘0’ and display original and modified matrix. (8) E.g. The sample input values for the size 4 is given below : (input) 1234 (output) 1230 3215 3205 8312 8012 6438 0438

Other Or Unclassified

Source quality review required

Part B — 14a

a) i) Write a function that returns the maximum of two integer values. Using this function, write a main program in C to find the maximum of n given values. (8) ii) What is the use of malioc() function ? Write its usage and explain with example. (8)

Other Or Unclassified

Source quality review required

Part B — 14b

b) i) How pointers are used with arrays ? Explain separately for integer and character arrays. (8) ii) What is the difference between increment with “++” for pointer and other variables. Explain with example. (8)

Other Or Unclassified

Source quality review required

Part B — 15a

a) i) What is structure variable ? Why it is required ?. Describe the syntax of defining structure and its usage with example. Compare structure variable with “union” variable by suitable illustration. (10) ii) Write short note on pre-processor directives. (6)

Other Or Unclassified

Source quality review required

Part B — 15b

b) i) Write a macro definitions for the following : (8) - define “pi” to represent the value “3.14” - define a macro AREA, to calculate area of a circle using aa pi” above and the radius ras “pi x r”. ii) Define a structure date, with day, month and year as its members. Declare the tags, “dob” and “cdate” to store date of birth and current date. Write a program to find the approximate age using above declarations. (8) REKKKKK

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.