Develop a C program to plot Pascal’s triangle
4.A) Develop a C program to plot a Pascal’s triangle Answer:-
4.A) Develop a C program to plot a Pascal’s triangle Answer:-
3.C) Demonstrate the working of break and continue statement with a suitable example Answer:- Break and continue: break and continue are unconditional control constructs. i. Break:- This statement is useful to terminate a loop and transfer control out of the…
3.B) Write a C program to print numbers from m to n. (where n > m) Answer:-
3.A) How similar and different while & for loops are? Give example Answer:- For loop While loop The structure of for loop is –for(initial condition; number of iterations){//body of the loop } The structure of the while loop is-While(condition){statements;//body} Iterates…
2.C) Write a C program to calculate the area of a circle. Answer:-
2.B) Explain the various rules for forming identifier names. Give examples of valid andinvalid identifiers names for the same. Answer:- Rules for forming identifier names:- Identifier should contain only alphabets (A-Z), (a-z), numerals(0-9) and underscore (_) The identifier should start…
1.C) How primary memory is different from secondary memory? Explain Answer:- Primary Memory:- The memory that is accessible directly by the CPU of a computer is called primary memory. This memory is part of the main computer system which is…
1.B) Define the following with a suitable example. i. Bit ii. Nibble iii.Byte iv. Word v. Kilobyte Answer:- Bit:- The data are represented by the state of electronic switches. A switch withON state represents 1 and OFF state represents 0…
1.A) Describe the evolution of Computers by mentioning how computers in onegeneration are better than their predecessors. Answer :- First-generation computers: The key features of first-generation computers are: First-generation computers (1940-1958) They used vacuum tubes for circuitry and magnetic drums…
Find VTU 2nd year 3rd Sem Previous Year Solved Question Paper with an answer. VTU 3rd Sem Previous Year Solved Question Paper with answer Computer Science and Engineering CSE 3rd Sem Previous Year Solved Question Paper with answer Course Code…