image

Solution of Assignment Synopsis & Project Dissertation Report


Note: ⇩    Fill the Name, Email and Mobile to get unlock the priclist...!!!!



Online-Typing-and-Filling

Title Name C Programming Solved Assignment for Amity better grades and marks in Delhi Noida Mumbai Faridabad and Ghaziabad India
University AMITY
Service Type Assignment
Course B.C.A
Semester Semester-I Course: B.C.A
Session
Short Name or Subject Code C Programming
Commerce line item Type Semester-I Course: B.C.A
Product Assignment of B.C.A Semester-I (AMITY)
Price

PRICE INR

Click to View Price
Download Question File
Download Answer File 848326251579.docx (Purchase the product for download...!!!)

Questions:-


C Programming (OBC 103)

Assignment A                               

  1. What is the basic difference between DVORAK and QWERTY pattern of keyboards? Explain in the context of current market usage.

Answer:-

  1. Differentiate between compiler and interpreter.

Answer:-

  1. What do you understand by output device? Explain printer and printing mechanism of character by dot matrix.

Answer:-

  1. With the help of a ‘C’ program define call by value and call by reference.

Answer:-

  1. What are the different storage classes available in ‘c’? Explain any one of them.

Answer:-

  1. What is operator? Define conditional operator with a C program.

Answer:-

  1. Write a function that receives 5 integers and returns the sum and the average of these numbers. Call this function from main () and print the results in main ().

Answer:-

  1. Write a c Program to count number of characters, number of blanks, and number of words.

Answer:-

Solve by www.solvezone.in contact for more details at 8882309876

Assignment B

Section B - Case Study

QUESTION 1

A 5 digit positive integer is entered through the keyboard, write a function to calculate sum of digits of the 5 digit number:

  1. a) Without using recursion

Answer:-

  1. b) Using recursion

Answer:-

QUESTION 2

Write a recursive function to obtain the first 25 numbers of a Fibonacci sequence. In a Fibonacci sequence the sum of two successive terms gives the third term.

Following are the first few terms of the Fibonacci sequence:

1   1   2   3   5    8   13   21   34   55   89…..

Answer:-

Assignment C

QUESTION 1

Which of the following is not a valid variable name declaration?

                       

  1. int _a3;
  2. int a_3;
  3. int 3_a;
  4. int _3a

QUESTION 2

Which of the following cannot be checked in a switch-case statement?

                       

  1. Character
  2. Integer
  3. float
  4. enum

QUESTION 3

What is the problem in following variable declaration?

                       

  1. The variable name begins with an integer
  2. The special character -
  3. The special character?
  4. All of the mentioned

QUESTION 4

Which data type is most suitable for storing a number 65000 in a 32-bit system?

                       

  1. signed short
  2. unsigned short
  3. long
  4. int

QUESTION 5

Which of the following is not a unary operator in C?

                       

  1. !
  2. Size of
  3. ~
  4. &&

QUESTION 6

enum types are processed by

                       

  1. Compiler
  2. Pre-processor
  3. Linker
  4. Assembler

QUESTION 7

Who is father of C Language?

                       

  1. Bjarne Stroustrup
  2. James A. Gosling
  3. Dennis Ritchie
  4. E.F. Codd

QUESTION 8

Which is more memory efficient?

                       

  1. structure
  2. union
  3. both use same memory
  4. depends on a programmer

QUESTION 9

Which variables cannot be declared?

                       

  1. Structure
  2. Pointer
  3. Class
  4. void

QUESTION 10

& means?

                       

  1. Logical OR
  2. Bitwise OR
  3. Logical AND
  4. Bitwise AND

QUESTION 11

Which of the following cannot be used as LHS of the expression in for (exp1; exp2; exp3) ?

                       

  1. Variable
  2. Function
  3. Type def
  4. macros

QUESTION 12

Which of the data types have size that is variable?

                       

  1. int
  2. struct
  3. float
  4. double

QUESTION 13

Which of the following declaration is not supported by C?

                       

  1. String str;
  2. char *str;
  3. float str = 3e2;
  4. Both (a) and (c)

QUESTION 14

Which of the following is not a pointer declaration?

                       

  1. char a[10];
  2. "char a[] = { 1 , 2 , 3 , 4 };"
  3. char *str;
  4. char a;

QUESTION 15

"When double is converted to float, the value is?"

                       

  1. Truncated
  2. Rounded
  3. Depends on the compiler
  4. Depends on the standard

QUESTION 16

What is the correct value to return to the operating system upon the successful completion of a program?

                       

  1. 1
  2. -1
  3. 0
  4. Program do not return a value

QUESTION 17

"Find the output of the following program. void main() { int i=01289; printf(""%d"", i); }"

                       

  1. 289
  2. 1289
  3. 713
  4. syntax error

QUESTION 18

The precedence of arithmetic operators is (from highest to lowest)

                       

  1. "%, *, /, +, "
  2. "%, +, /, *, "
  3. "+, -, %, *, /"
  4. "%, +, -, *, /"

QUESTION 19

Which of the following data type will throw an error on modulus operation(%)?

                       

  1. char
  2. short
  3. int
  4. float

QUESTION 20

Which type conversion is NOT accepted?

                       

  1. From char to int
  2. From float to char pointer
  3. From negative int to char
  4. From double to char

QUESTION 21

"For which of the following, PI++; code will fail?"

                       

    1-#define PI 3.14

    2-char *PI = A ;

  1. float PI = 3.14;
  2. None of the Mentioned

QUESTION 22

What is the output of this C code? #include void main () {1 < 2? return 1: return 2;}

                       

  1. returns 1
  2. returns 2
  3. Varies
  4. Compile time error

QUESTION 23

"What is the type of the below assignment expression if x is of type float, y is of type int? y = x + y”;

                       

  1. int
  2. float
  3. There is no type for an assignment expression
  4. double

QUESTION 24

"For initialization a = 2, c = 1 the value of a and c after this code will be c = (c)? a = 0:2;"

                       

  1. "a = 0, c = 0;"
  2. "a = 2, c = 2;"
  3. "a = 2, c = 2;"
  4. "a = 1, c = 2;"

QUESTION 25

"What is the output of this C code? #include void main() { char a = ´A´; char b = ´B´; int c = a + b % 3 - 3 * 2; printf(""%d "", c); }"

                       

  1. 65
  2. 58
  3. 64
  4. 59

QUESTION 26

Which of the following operator has the highest precedence in the following?

                       

  1. ()
  2. sizeof
  3. *
  4. +

QUESTION 27

Switch statement accepts?

                       

  1. int
  2. char
  3. long
  4. All of the mentioned

QUESTION 28

Which of the following cannot be used as LHS of the expression in for (exp1;exp2; exp3) ?

                       

  1. Variable
  2. Function
  3. macros
  4. typedef

QUESTION 29

Which of the following is an invalid if-else statement?

                       

  1. if (if (a == 1)){}
  2. if (func1 (a)){}
  3. if (a){}
  4. if ((char) a){}

QUESTION 30

Which keyword can be used for coming out of recursion?

                       

  1. break
  2. return
  3. exit
  4. Both (a) and (b)

QUESTION 31

Which keyword is used to come out of a loop only for that iteration?

                       

  1. break
  2. continue
  3. return
  4. None of the mentioned

QUESTION 32

goto can be used to jump from main to within a function

                       

  1. TRUE
  2. false
  3. Depends
  4. Varies

QUESTION 33

The value obtained in the function is given back to main by using ________ keyword?

                       

  1. return
  2. static
  3. new
  4. volatile

QUESTION 34

What is the problem in the following declarations? int func(int); double func(int); int func(float);

                       

  1. A function with same name cannot have different signatures
  2. A function with same name cannot have different return types
  3. A function with same name cannot have different number of parameters
  4. All of the mentioned

QUESTION 35

What is the scope of an external variable?

                       

  1. Whole source file in which it is defined
  2. From the point of declaration to the end of the file in which it is defined
  3. Any source file in a program
  4. From the point of declaration to the end of the file being compiled

QUESTION 36

Which of the following cannot be static in C?

                       

  1. Variables
  2. Functions
  3. Structures
  4. None of the mentioned

QUESTION 37

Property which allows to produce different executable for different platforms in C is called?

                       

  1. File inclusion
  2. Selective inclusion
  3. Conditional compilation
  4. Recursive macros

QUESTION 38

A pre-processor is a program

                       

  1. That processes its input data to produce output that is used as input to another program
  2. That is nothing but a loader
  3. That links various source files
  4. All of the mentioned

QUESTION 39

"Comment on the following pointer declaration? int *ptr, p;"

                       

  1. "ptr is a pointer to integer, p is not"
  2. "ptr and p, both are pointers to integer"
  3. "ptr is a pointer to integer, p may or may not be"
  4. ptr and p both are not pointers to integer

QUESTION 40

What is prototype of a function in C

                       

  1. It is the return type of a function
  2. It is the return data of the function
  3. It is declaration of a function
  4. It is a datatype


Questions:-



Only after making the payment you would be able to see the answer...!!!

Review

Average user rating

4.8 / 5

Rating breakdown

5
80% Complete (danger)
1
4
80% Complete (danger)
1
3
80% Complete (danger)
0
2
80% Complete (danger)
0
1
80% Complete (danger)
0

January 29, 2015
This was nice in buy
Assignment from solve zone is probably one of the first preference of students.

January 29, 2015
This was nice in buy
Assignment from solve zone is probably one of the first preference of students.

09-Apr, 2018
This was nice in buy
Assignment from solve zone is probably one of the first preference of students.