Exam Details
Subject | fundamentals of programming – i | |
Paper | ||
Exam / Course | mca(integrated) | |
Department | ||
Organization | Gujarat Technological University | |
Position | ||
Exam Date | January, 2019 | |
City, State | gujarat, ahmedabad |
Question Paper
1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA Integrated SEMESTER- 1 EXAMINATION WINTER 2018
Subject Code: 2618603 Date: 05-01-2019
Subject Name: Fundamental of Programming-I
Time: 10.30 am to 1.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Do as directed:
1. Basic data types in C language are
2. C is middle level language. [True/False]
3. C programming is (top-down/bottom-up) programming.
4. Operators in C language are classified into
5. Types of comment available in C language is/are
6. How to pass an array to a user-defined function?
7. auto, extern, static register are known as
07
The extern storage class has the broader scope. Discuss with suitable example.
07
Q.2
Write all the iteration constructs and selection constructs available in C language with syntax and suitable example.
07
Write a program/algorithm to input 10 strings and sort them in ascending/descending order using user-defined function.
07
OR
Write a program/algorithm to input 10 numbers and sort them in ascending/descending order using user-defined function.
07
Q.3
Define the terms:
1. Compiler
2. Interpreter
3. Linker
4. Loader
07
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.
07
OR
Q.3
What is an operator? How operators are classified in C language? How an operator is used to build an expression?
07
Differentiate between (any
1. and
2. if..else if and switch
3. static and register
4. identifier and token
07
Q.4
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?
07
Write a program to concat (joining two strings) two strings without using any built-in function.
07
OR
Q.4
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 20 rupee note is 5 rupee note is 1.
07
2
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.
07
Q.5
What do you mean by array of Strings? Give suitable example.
07
What do you mean by iteration/looping? Discuss all the iteration/looping constructs available in C language. Also discuss nested loops with suitable example.
07
OR
Q.5
Discuss all the functions available in C for inputting data from keyboard with suitable example.
07
What do you mean by memory? Discuss how a computer stores data in memory. What is the significance of address in memory?
07
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA Integrated SEMESTER- 1 EXAMINATION WINTER 2018
Subject Code: 2618603 Date: 05-01-2019
Subject Name: Fundamental of Programming-I
Time: 10.30 am to 1.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Do as directed:
1. Basic data types in C language are
2. C is middle level language. [True/False]
3. C programming is (top-down/bottom-up) programming.
4. Operators in C language are classified into
5. Types of comment available in C language is/are
6. How to pass an array to a user-defined function?
7. auto, extern, static register are known as
07
The extern storage class has the broader scope. Discuss with suitable example.
07
Q.2
Write all the iteration constructs and selection constructs available in C language with syntax and suitable example.
07
Write a program/algorithm to input 10 strings and sort them in ascending/descending order using user-defined function.
07
OR
Write a program/algorithm to input 10 numbers and sort them in ascending/descending order using user-defined function.
07
Q.3
Define the terms:
1. Compiler
2. Interpreter
3. Linker
4. Loader
07
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.
07
OR
Q.3
What is an operator? How operators are classified in C language? How an operator is used to build an expression?
07
Differentiate between (any
1. and
2. if..else if and switch
3. static and register
4. identifier and token
07
Q.4
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?
07
Write a program to concat (joining two strings) two strings without using any built-in function.
07
OR
Q.4
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 20 rupee note is 5 rupee note is 1.
07
2
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.
07
Q.5
What do you mean by array of Strings? Give suitable example.
07
What do you mean by iteration/looping? Discuss all the iteration/looping constructs available in C language. Also discuss nested loops with suitable example.
07
OR
Q.5
Discuss all the functions available in C for inputting data from keyboard with suitable example.
07
What do you mean by memory? Discuss how a computer stores data in memory. What is the significance of address in memory?
07
Other Question Papers
Subjects
- advanced c programming (adv – c)
- advanced python
- basic mathematics for it
- big data
- c++ with class libraries (cpp)
- communication skills - ii
- communication skills-1
- cyber security and forensics (csf)
- data analytics with r
- data structure
- database management systems
- discrete mathematics for computer science (dmcs)
- environmental studies
- fundamentals of computer
- fundamentals of database management systems
- fundamentals of networking
- fundamentals of programming – i
- fundamentals of web
- information security
- java programming
- machine learning
- management information systems (mis)
- mobile programming
- network security
- operating system
- operations research
- python (py)
- software engineering
- software testing
- statistical methods
- uml & object oriented modeling
- web development tools