Engineering
- Define standard electrode potential Answer: the standard electrode potential ( E^°) of an electrode is its potential measured relative to the standard hydrogen electrode (SHE,... 1
- Give the comparison between galvanizing and tinning Galvanizing Tinning Processof covering iron or steel,with a thin coat of ZINC to,prevent it from rusting. Process of coating steel with a,th... 1
- What is Cathodic protection? Explain impressed current method with diagram The principle involved in this method is to force the metal to be protected to behave like a cathode, thereby corrosion does not occur. Ther... 1
- Write short notes on Pitting corrosion b) stress corrosion c) Conc.cell d) Intergranular e) Galvanic cell. a) Pitting corrosion Pits are holes or cavities that are developed on the metal surface when the protective oxide film breaks. Around such p... 1
- Define Corrosion. Explain mechanism of corrosion by oxygen absorption mechanism Answer: Corrosion is the destruction or deterioration of a metal by chemical or electrochemical reaction with its environment. In the oxygen... 1
- Explain the concept of nested structure with suitable example. Structure written inside another structure is called as nesting of two structures. Nested Structures are allowed in C Programming Language.... 1
- Write a program to store the information of student using structure. #include <stdio.h> struct student char name[50]; int roll; float marks; s[100]; int main() int i,n; struct student s[100]; printf("Enter tot... 1
- Explain pointer to pointer with example. Answer: a pointer to pointer (double pointer) is a variable that stores the address of another pointer variable. It is declared with two ast... 1
- Explain the difference between function call by value and function call by reference with suitable programmes. Answer: In call by value a copy of the actual argument is passed, so changes inside the function do not affect the caller. In call by refere... 1
- What is String? Explain any five string functions with example which is available in String.h. Answer: a string in C is an array of characters ending with the null character '\0'. The header string.h provides functions such as strlen,... 1
- Write a menu driven program and perform following operations on matrices such as transpose of matrix #include <stdio.h> #define MAX_SIZE 10 void read_matrix(int matrix[][MAX_SIZE], int rows, int cols) printf("Enter matrix elements:n"); for (... 1
- Write a recursive function and calculate factorial of inputted integer number. Answer: a recursive function calls itself with n-1 until it reaches the base case, using n! = n×(n-1)! and 0! = 1! = 1. #include <stdio.h> l... 1
- WAP to compute permutation and combination values using function. Answer: write a factorial function and two functions that use it: ⁿP_r = n!/((n-r)!) and ⁿC_r = n!/(r! (n-r)!). #include <stdio.h> long long... 1
- Explain the storage classes with example. Answer: C has four storage classes: automatic (auto), register, static and external (extern). They differ in storage location, default value... 1
- What are keywords ? List the keywords Answer: Keywords are reserved words that have a fixed, predefined meaning for the C compiler. They cannot be used as identifiers (variable,... 2
- Engineering Drawing paper pattern , FE sem 2 Mumbai University Engineering Drawing paper pattern , FE sem 2 Mumbai University 1
- How to draw isometric diagrams in autocad 2007 step 01 : command "snapstyl" step 02 : Enter value ="1" step 03 : for switching dimensions F5 for circle el 2
- Difference between Diffraction and Interference Answer: Interference is the superposition of waves from two coherent sources; diffraction is the superposition of secondary wavelets from di... 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