We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
MALINENI LAKSHMAIAH WOMEN’S ENGINEERING COLLEGE
(STATE BOARD OF TECHNICAL EDUCATION & TRAINING, A.P)
SUBJECT NAME: PROGRAMMING IN ‘C’ UNIT TEST – 1 SUB.CODE:DC-CM-106
YEAR/BRANCH: I. DIPLOMA( CSE) DATE:25-11-2023
ACAD.YEAR: 2023-2024 TIME:90 MINUTES
SCHEME : C-23 MAX MARKS: 40
---------------------------------------------------------------------------------------------------------------------------------------------------------------------- PART –A (4 x 4=16 Marks) Instructions: 1) Answer all questions. 2) All question carries 4 marks.
1. (i) Ternary operator is also known as _____________ .
(ii)What is meant by a compiler. (iii)Define a variable and constant . (iv)what is the function used to read a single character . 2. List primary data types in ‘C’ programming with syntax and an example program. 3. Distinguish between pre-increment and post increment operators. 4. Explain need of operator precedence and associativity rules.
PART – B (3x8=24 Marks)
Instructions: 1) Answer all questions. 2) Each question carries 8 marks. 3) Answer should be comprehensive and the criterion for valuation ` is the content but not the length of the answer.
5. (a) Briefly explain the structure of ‘C’ programming language.
(OR) (b) Explain various generation of computer. 6.(a) Explain about Arithmetic ,bitwise and conditional operators in ‘C’ with an example program. (OR) (b) Evaluate the following C-Expression and write the final value with steps. X=((2+6/2+3*6)-((4+6)/2+5)/10)+1)/5.0 7 (a) Explain about formatted input and output functions with an example program. (OR) (b)Explain about type conversion techniques with an example program.