Do as directed: 1. Basic data types in Clanguage are ___________ 2. Cis middle – level language. [True/False] 3. Cprogramming is _____ (top-down/bottom-up) programming. 4. Operators in Clanguage are classified into ________ 5. Types of comment available in Clanguage is/are _________ 6. How to pass an array to a user-defined function? 7. auto, extern, static & register are known as ____________
[7 marks]The extern storage class has the broader scope. Discuss with suitable example.
[7 marks]Write all the iteration constructs and selection constructs available in Clanguage with syntax and suitable example.
[7 marks]Write a program/algorithm to input 10 strings and sort them in ascending/descending order using user-defined function.
[7 marks]Write a program/algorithm to input 10 numbers and sort them in ascending/descending order using user-defined function.
[7 marks]Define the terms: 1. Compiler 2. Interpreter 3. Linker 4. Loader
[7 marks]What is a variable? How to declare and define a variable? Explain the different types of variables and the range of values with suitable example.
[7 marks]What is an operator? How operators are classified in Clanguage? How an operator is used to build an expression?
[7 marks]Differentiate between (any 3): 1. = and = = 2. if..else if and switch 3. static and register 4. identifier and token
[7 marks]What is an array? How to define a single dimension integer array and a single dimension character array? What is the basic difference between an integer array and a character array?
[7 marks]Write a program to concat (joining two strings) two strings without using any built-in function.
[7 marks]Write a program to input a number (rupees) and find all the possible denominations. E.g. If the input number is 145, then the output should be: 100 rupee note is 1, 20 rupee note is 2, 5 rupee note is 1.1
[7 marks]What is a user-defined function? Write all the necessary steps to create a function that will do the sum of two integer values. The numbers should be passed as parameter to the function.
[7 marks]What do you mean by array of Strings? Give suitable example.
[7 marks]What do you mean by iteration/looping? Discuss all the iteration/looping constructs available in Clanguage. Also discuss nested loops with suitable example.
[7 marks]Discuss all the functions available in Cfor inputting data from keyboard with suitable example.
[7 marks]What do you mean by memory? Discuss how a computer stores data in memory. What is the significance of address in memory?
[7 marks]