Doubtly
@Doubtly · Joined Feb 2021
- Answers
- 3,792
- Questions
- 4,033
- Upvotes received
- 424
- Write a C++ program to find the factorial of a natural number inputted during program execution. #include<iostream.h> #include<conio.h> void main() { int i,n; long int fact; clrscr(); cout<<"Enter the number to find the Factorial"<<endl;... 1
- Write a C++ program to display a series of 20 terms of the Fibonacci series #include<iostream.h> #include<conio.h> void main() { int n1,n2,n,i; clrscr(); n1=0; n2=1; cout<<"Fibonacci series :"<<endl; cout<<n1<<endl;... 1
- Write a program in C++ to find the Greatest Common Divisor (G.C.D.) of two natural numbers. [March 2006] //Program to find the G.C.D. of two numbers #include<iostream.h> #include<conio.h> int gcd(int a, int b); void main() { int x, y, g; clrscr(... 1
- Implement a class temperature to convert degree Fahrenheit value to degree Celsius Answer: Read F, compute C = 5(F - 32)/9 inside a class named temperature, and display C. #include<iostream.h> #include<conio.h> class temper... 1
- Write a C++ program that right justifies text. It should read and echo a sequence of left justified lines and print them in right justified format. #include<iostream.h> #include<conio.h> #include<string.h> void main() char line[5][100]; int i, j, len, maxlen=0; for(i=0; i<=4; i++) cin.ge... 2
- Explain the function of the following in Operating system: 1) Virus Detection 2) Virus Removal 3) Virus Prevention 1) Virus detection : Normally, a virus detection program checks the integrity of the binary files.The program maintains a check sum of each... 1
- Write the difference between Worm and Virus ? computerscience1 Computer Worm Computer Virus A computer worm is a complete program A computer virus is not a complete program , but a part of a program A co... 1
- What are the components of LINUX operating system ? Explain any Three features of it Three features of LINUX OS are as follows :- 1) Linux is multi user Linux is an implementation of the Unix Design philosophy, which means th... 2
- explain in brief following program of MS-windows a)program manager b)file manager c) control panel Program Manager : this allows users to execute each program on their computer File Manager : The Microsoft Windows File Manager is the graph... 1
- what are features of Windows NT operating system ? The features of Windows NT are as follows :- (1) It is multitasking, multi-user and multithreading operating system. (2) It also includes vi... 2
- What is operating system ? Explain major services of OS An operating system is a program , which acts as an interface between user of a computer and computer hardware . It provides an environment... 1
- Name the software required to make a computer functional. Write down its two primary services. The software that is necessary for the computer to function is called System Software. This controls the internal computer operations. This... 2
- Apollonius Theorem (with proof) Statement- “the sum of squares of any of the two sides of a triangle equals to twice its square on half of the third side, along with the tw... 2
- Pythagoras theorem with formula and proof https://youtu.be/jaLb-QCtIVY Pythagoras theorem In a right-angled triangle, the square of the hypotenuse side is equal to the sum of squares... 1
- In the adjoining figure, ∠QPR = 90°, seg PM ⊥ seg QR and Q – M – R, PM = 10, QM = 8, find QR. In ∆PQR, ∠QPR = 90° and [Given] seg PM ⊥ seg QR ∴ PM² = OM × MR [by Theorem of geometric mean] ∴ 10² = 8 × MR ∴ MR = 100over8 = 12.5 Now, QR... 1
- In ∆PQR, point S is the midpoint of side QR. If PQ = 11, PR = 17, PS = 13, find QR. In ∆PQR, point S is the midpoint of side QR. [Given] ∴ seg PS is the median. ∴ PQ² + PR² = 2 PS² + 2 SR² [Apollonius theorem] ∴ 11² + 17² =... 1
- Identify, with reason, which of the following are Pythagorean triplets. i. (3,5,4) Here, 5² = 25 3² + 4² = 9 + 16 = 25 ∴ 5² = 3² + 4² The square of the largest number is equal to the sum of the squares of the oth... 1
- In the given figure, if LK = 6√3 find MK, ML, KN, MN and the perimeter of MNKL Solution:: In triangle space LKM , tan30^∘ =MLover LK ⇒ ML=6√( 3 ) × 1 / √( 3 ) =6 cos 30 ^(°) = LK / MK ⇒ MK=dfrac LK cos 30 ^(°) = 6√( 3 )... 1