In hexadecimal number system, F is equivalent to the number in decimal
Official theoretical question paper for Programming For Problem Solving (ES-CS201) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
In hexadecimal number system, F is equivalent to the number in decimal
Which operator operate upon integer and character but not upon float?
ALU is part of a
Operating System is a
In Octal number system, base is
First generation computers used ______ as an output device
The output of the following code is for (i=1;i<=5;i++) { if(i%2) continue; printf("%d",i); }
Which of the following is conditional operator?
The output of the following code is int i=6; clrscr(); printf("%d%d%d",i, i--, --i);
In the ______ code, each decimal digit is represented by a binary code of four bits
Which one is the right output? char a[50]="computer"; printf("%d", strlen(a));
Write down the basic characteristics of an algorithm
Draw a flowchart to find the sum of all integers ranging from 100 to 500 which are divisible by 5
Write difference between (i) do-while and while statement
Compiler and Interpreter
Write a program to print the following Fibonacci series: 1 1 2 3 5 8 ........ What is function prototype?
What is macro? Write a C program to illustrate the function of macro. What is pointer arithmetic?
What are the advantages and disadvantages of machine level language?
Find out the errors of this program and write the correct program #include<stdio.h> main() { int t, int p; float s1; printf ("Enter the value of t,p,r:"); scanf("%D%D%f,&t&p&r"); s1=(p*t*r)/100; printf("value of s1=")
What is the difference between calloc() and malloc()? What is void pointer?
Write a program using procedures / functions to create a dynamic array of integers given its size, then fill it with random numbers in the range 100 - 10000, then print it and then check whether a given integer in the same range is there in the array
Write a program to convert an integer in the range 1 - 1000 to Roman numerals where I=1, V=5, X=10, L=50, C=100, D=500 and M=1000 and print it
Write a program to convert a decimal number into binary using appropriate assumptions.
Write a program to check whether a number is prime with as few iterations as possible.
Write a program to calculate sin (x) for x = 0, 15, 30, ..., 360 degrees with an accuracy of 10⁻⁶.
Modeling complex number/variable as a structure, write a program to add and print the result of two complex variables.
Write short notes on any three: (a) Firmware (b) Pre-processor (c) Operating system (d) Binary numbers (e) ROM