All questions
- Distinguish between Block Mountain and Fold Mountain Block Mountain Fold Mountain Block Mountain is created due to Tension. Fold mountain is created due to compression. Here horizontal waves of... 1
- Volcanic eruptions can cause earthquakes. Generally, the movements in the Earth’s interior occur in the upper layer of the mantle Tremendous energy is released by radioactive materia... 1
- The Barren Island is becoming conical in shape. Barren island which was considered a dormant volcano has become active since February 2017. Mainly dust, smoke and mud are coming out of thi... 1
- Most of the volcanoes are found on the plate boundaries. The plate boundaries are directly related to the areas of volcanoes. Most of the volcanoes are located on the plate boundaries. The part of... 1
- There is a difference in the formation of the Meghalaya Plateau and the Deccan Plateau. Meghalaya Plateau is the example of Block Mountain which had formed because of internal movements where horizontal waves moving away from ea... 1
- Buildings collapsed at the foothills of the Himalayas because of an earthquake. Before collapsing they were moving The seismic waves can be divided into primary, secondary and surface waves. The primary waves are the first ones to reach the surface of the... 1
- Which method will you use for the following information ? (1) Talukawise wheat production in the district . – Dot Method (2) Distribution of the altitude of the land in the district – Isopleth Metho... 1
- Explain with reasons the method which is best suited to show the distribution of population in a region. Dot method is the best suited method to show the distribution of population in a region. One can get the exact picture of the distribution o... 1
- Differentiate between choropleth and isopleths methods. Choropleth Method Isopleth Method (1) In Choropleth method maps, the distribution of various variables are shown by shading or using tints o... 1
- Explain the use and types of distributional maps. Use of distributional maps: The distributional maps are useful for explaining the patterns of distribution of a particular geographical vari... 1
- A square prism with side of base 40 mm and axis height 60 mm is resting on HP on one of its base corner such that Answer: Solve in two stages: first draw the prism with its axis perpendicular to the H.P. (base on H.P.), then tilt the front view about a b... 1
- Write a program to swap two numbers using function using call-by-value method call-by-reference method Answer: with call by value the swap happens only on copies, so the original variables do not change; with call by reference (passing address... 1
- Write a program to store and display name, marks in three subjects and roll number of n students using structure. Answer: define a structure with roll number, name and three marks, make an array of it, and read and print n records with loops. #include <s... 1
- Write a program to check whether an inputted string is palindrome or not. Answer: compare characters from both ends moving inward; if all pairs match, the string is a palindrome. #include <stdio.h> #include <string... 1
- Write a program to count vowels, consonants, digits and blank spaces in an inputted string. Answer: read the string, then check each character and increase the matching counter. #include <stdio.h> #include <ctype.h> int main() char... 1
- Write a program to multiply two matrices. A program to multiply two matrices. #include<stdio.h> void multiply(int mat1[12][12],int mat2[12][12],int ,int ,int ); void main() int mat1[... 1
- Write a program to find largest of n numbers taken from user. Answer: Store the n numbers in an array, take max = a[0] and replace it whenever a larger element is found. Logic: after one pass through th... 2
- Write recursive function to display factorial of an inputted number. Answer: factorial(n) returns 1 when n ≤ 1, otherwise n × factorial(n − 1). Logic: 5! = 5 × 4! = 5 × 4 × 3! = dots = 120. The base case n ≤ 1... 2
- Write a function to display n Fibonacci elements. Answer: A function fibonacci(n) starts with a = 0, b = 1 and repeatedly prints a and moves forward (c = a + b; a = b; b = c). Logic: each Fi... 2
- Write a program to demonstrate the use of break and continue branching structures. Answer: break exits the loop immediately; continue skips the remaining statements of the current iteration and goes to the next one. break:... 2
- Write a program to find LCM of two integer numbers. Answer: Find GCD by Euclid's method, then LCM = (a × b)/GCD. Logic (12, 18): 18 % 12 = 6, 12 % 6 = 0, so GCD = 6 and LCM = 12 × 18 / 6 = 36.... 2
- Write menu driven program to perform arithmetic calculations Answer: Show a menu, read the choice and use a switch statement for +, −, ×, ÷ inside a do-while loop until the user chooses Exit. Logic: ea... 2
- Write a program to check whether an inputted number is Armstrong or not. Answer: An n-digit number is Armstrong if the sum of each digit raised to the power n equals the number (e.g. 153 = 1³ + 5³ + 3³ ). Logic: f... 2
- Write a program to reverse digits of an imputed integer number. Answer: Repeatedly take the last digit (n % 10), append it to rev (rev = rev × 10 + digit) and drop it from n (n = n / 10). Logic (n = 123):... 2