Doubtly
@Doubtly · Joined Feb 2021
- Answers
- 3,792
- Questions
- 4,033
- Upvotes received
- 424
- 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
- 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
- A ladder 25m long just reaches the top of a building 24m Given: length of ladder= 25 m building height=24 m By pythagoras theorem , x²=25² -24² =625-576 x²=49 x= 7 Hence the answer is 7 m https://y... 1
- A boat travels 16 km upstream and 24 km downstream in 6 hours. speed of the boat in still water is 8 km/hr. and speed of water current is 4 km/hr. 1
- R. Perform the following operations : a. 3.971 × 107 + 1.98 × 104 ; b. 1.05 × 10-4 - 9.7 × 10-5; c. 4.11 × 10-3 + 8.1×10-4; d. 2.12 × 106 - 3.5 × 105 A) 3.971 × 10⁷ + 1.98 × 10⁴ = 3.971 × 10⁷ + 0.00198 × 10⁷ = (3.971 + 0.00198) × 10⁷ = 3.97298 × 10⁷ B) 1.05 × 10⁻⁴ − 9.7 × 10⁻⁵ = 10.5 × 10⁻... 2