Explore topic-wise MCQs in Csharp.

This section includes 1967 Mcqs, each offering curated multiple-choice questions to sharpen your Csharp knowledge and support exam preparation. Choose a topic below to get started.

51.

Which parameter determines whether the old session file will also be deleted when the session ID is regenerated?

A. delete_old_file
B. delete_old_session
C. delete_old_session_file
D. delete_session_file
Answer» C. delete_old_session_file
52.

An attacker somehow obtains an unsuspecting user’s SID and then using it to impersonate the user in order to gain potentially sensitive information. This attack is known as __________

A. session-fixation
B. session-fixing
C. session-hijack
D. session-copy
Answer» B. session-fixing
53.

What will be the output of the following PHP code? (Say your previous session username was nachi.)

A. Username now set to: nachi
B. Username now set to: System
C. Username now set to:
D. ErrorView Answer
Answer» D. ErrorView Answer
54.

Which one of the following statements should you use to set the session username to Nachi?

A. $SESSION[‘username’] = “Nachi”;
B. $_SESSION[‘username’] = “Nachi”;
C. session_start(“nachi”);
D. $SESSION_START[“username”] = “Nachi”;
Answer» C. session_start(“nachi”);
55.

What will the function session_id() return is no parameter is passed?

A. Current Session Identification Number
B. Previous Session Identification Number
C. Last Session Identification Number
D. Error
Answer» B. Previous Session Identification Number
56.

Which function is used to erase all session variables stored in the current session?

A. session_destroy()
B. session_change()
C. session_remove()
D. session_unset()
Answer» E.
57.

DNA always carries the genetic information for all organisms.

A. True
B. False
Answer» C.
58.

Plasmids are ____________

A. Double stranded DNA
B. Circular double stranded DNA
C. Linear double stranded DNA
D. Supercoiled circular double stranded DNA
Answer» C. Linear double stranded DNA
59.

According to Mendel’s experiments gene carry genetic information from parents to offspring’s. On which plant did he perform his experiments?

A. Oryza sativa
B. Pisum sativam
C. Allium cepa
D. Vitis vinifera
Answer» C. Allium cepa
60.

Recently, scientists have developed a procedure in which protoplasts of E. coli could be directly infected with the phage DNA. This process is termed as_________

A. Transformation
B. Transduction
C. Transfection
D. Mutation
Answer» D. Mutation
61.

What combination of radiolabelling is correct in case of Hershey and Chase’s demonstration of DNA as genetic material in T2 bacteriophage?

A. 31P, 35S
B. 31P, 32S
C. 31P, 14C
D. 31P, 12C
Answer» B. 31P, 32S
62.

Fredrick Griffith’s experiment involving Streptococcus pneumonia lead to the discovery of____________

A. DNA as genetic material
B. RNA as genetic material
C. Protein as genetic material
D. Transforming principle
Answer» E.
63.

According to the phenotypic characters of pneumococcus considered in Griffith’s experiment of transformation, which of the following statements are correct?

A. i, ii, iii
B. ii, iii, iv
C. ii, iii, v
D. i, iv, vView Answer
Answer» D. i, iv, vView Answer
64.

Which of the following statement is false about DNA?

A. Located in chromosomes
B. Carries genetic information from parent to offspring
C. Abundantly found in cytoplasm
D. There is a precise correlation between the amount of DNA and number of sets of chromosome per cell
Answer» D. There is a precise correlation between the amount of DNA and number of sets of chromosome per cell
65.

The Taylor polynomial of degree 6 is approximated for cos(x). Then the interval in which the function can be accurately calculated using Taylor series (center = 80π)?

A. [-3π, 3π]
B. [77.5π, 83.5π]
C. [-2.5π, 2.5π]
D. [77π, 83π]
Answer» C. [-2.5π, 2.5π]
66.

Let τ(x) be the taylor Series centered at 0. Let the Taylor series be approximated to fifth degree polynomial only, which is the interval over which f(x) = sin(x) can be accurately calculated.

A. (-∞, ∞)
B. [-2π, 2π]
C. [-4π, 0]
D. It is accurate for any interval
Answer» C. [-4π, 0]
67.

Let τa(f(x)) denote the Taylor series of the polynomial f(x) centered at a. Which of the following exactly happens after the Taylor series is formed?

A. τa(f(x)) = f(x)
B. The Taylor series has the effect of scaling GRAPH OF f(x)
C. The Taylor series transforms the origin
D. Scaled up graph obtained by factor of a
Answer» B. The Taylor series has the effect of scaling GRAPH OF f(x)
68.

Let f(1) (n) = g(n) (0) for some functions f(x) and g(x). Now let the coordinate axes having graph f(x) be rotated by 45 degrees (clockwise). Then the corresponding Mclaurin series of transformed g(x) is?

A. g(x)=g(0)+(ex-1)+f(x)-f(0)
B. τ(f(x+tan(45)))=τ45(g(x))
C. g(x)=g(0)+g(1)(0).\(\frac{x}{1!}+g^{(2)}(0).\frac{x^2}{2!}+…\infty\)
D. g(x)=\(g(0)-\sum_{n=1}^{\infty}\frac{x^n \times f^{(1)}(n)}{n!}+(e^x-1)\)
E. . Then the corresponding Mclaurin series of transformed g(x) is?a) g(x)=g(0)+(ex-1)+f(x)-f(0)b) τ(f(x+tan(45)))=τ45(g(x))c) g(x)=g(0)+g(1)(0).\(\frac{x}{1!}+g^{(2)}(0).\frac{x^2}{2!}+…\infty\) d) g(x)=\(g(0)-\sum_{n=1}^{\infty}\frac{x^n \times f^{(1)}(n)}{n!}+(e^x-1)\)
Answer» B. τ(f(x+tan(45)))=τ45(g(x))
69.

Find the Taylor Series expansion of sinh (x) centered around 5?

A. \(\frac{x}{1!}+\frac{x^3}{3!}+\frac{x^5}{5!}+…..\infty\)
B. \(\frac{(x-5)}{1!}+\frac{(x-5)^3}{3!}+\frac{(x-5)^5}{5!}+…\infty\)
C. \(1+\frac{x^2}{2!}+\frac{x^4}{4!}+…\infty\)
D. \(-(\frac{(x-5)}{1!}+\frac{(x-5)^3}{3!}+\frac{(x-5)^5}{5!}+…\infty)\)
Answer» B. \(\frac{(x-5)}{1!}+\frac{(x-5)^3}{3!}+\frac{(x-5)^5}{5!}+…\infty\)
70.

To find the value of cosh(23) with good accuracy the Taylor series should be centered at _________

A. 23
B. 22
C. 21
D. Delta (small) interval around 23
Answer» E.
71.

The value of f(1) can be deduced using Taylor series.

A. True
B. False
Answer» B. False
72.

Function has the property that f(n) (x) = f(n + 2) (x) : n ≥ 1 : n ∈ N Then which of the following is the expression for f(x) in most general form.

A. x+\(\frac{x^3}{3!}+\frac{x^5}{5!}+…..\infty\)
B. 1+\(\frac{x^2}{2!}+\frac{x^4}{4!}+….\infty\)
C. c1 \( \times cosh(x)+c_2\times sinh(x)\)
D. cosh(x) + sinh(x)
Answer» D. cosh(x) + sinh(x)
73.

Let τa [f (x)] denote the Taylor series of f (x) centered at a then the value of the expression[ τ199 (τ121 (τ1729 (f (101729)))]3 – [τ342 (f (101729))]3 is equal to _______

A. 101729
B. 0
C. 1
D. -101729
Answer» C. 1
74.

Volumetric strain = 3× _____________

A. Linear strain
B. Lateral strain
C. Linear stress
D. Lateral stress
Answer» B. Lateral strain
75.

Lighter materials of construction can be used for a continuous beam.

A. True
B. False
Answer» B. False
76.

In continuous beams ______________ moments is always less than support moments.

A. Upward
B. Mid span
C. Downward
D. Sagging
Answer» C. Downward
77.

In continuous beams ______ moment develops at supports.

A. Hogging
B. Sagging
C. Couple
D. Static
Answer» B. Sagging
78.

In T beams, maximum ______ is less.

A. Shear force
B. Bending moment
C. Bending stress
D. Shear stress
Answer» C. Bending stress
79.

The pitch of the lateral ties shall not be more than the least of the ______________

A. 300mm
B. 450mm
C. 500mm
D. 550mm
Answer» B. 450mm
80.

Polygonal links are also known as _____________

A. Bent up bars
B. Crancked bars
C. Lateral ties
D. Anchorage bars
Answer» D. Anchorage bars
81.

As per IS 456-2000, the minimum eccentricity for columns shall be given by ________

A. l/500 + D/30
B. l/450 + D/45
C. l/400 + D/40
D. l/250 + D/25
Answer» B. l/450 + D/45
82.

The specific volume ratios of W, Cr and Ni are 3.6, 2.0 and 1.6 respectively. Which of them will have the least rate of corrosion?

A. Ni
B. Cr
C. W
D. All will have the same rate of corrosion
Answer» D. All will have the same rate of corrosion
83.

Excessive corrosion of metal takes place if corrosion product is ___________

A. Volatile
B. Non-volatile
C. Both volatile as well as non-volatile
D. Initially volatile and then non-volatile
Answer» B. Non-volatile
84.

Corrosion of zinc can be minimized by increasing the pH to ___________

A. 9
B. 10
C. 11
D. 12
Answer» D. 12
85.

Rate of corrosion of anodic region is inversely proportional to the ___________

A. Cathodic area
B. Anodic area
C. Product of anodic area and cathodic area
D. Sum of anodic area and cathodic area
Answer» C. Product of anodic area and cathodic area
86.

Which of the following factor influences the rate and extent of corrosion?

A. Nature of metal only
B. Nature of the environment only
C. Both nature of metal and environment
D. Nature of reaction
Answer» D. Nature of reaction
87.

Which of the following is not a form of mica?

A. Fully trimmed
B. Partially trimmed
C. Film
D. Wire
Answer» E.
88.

Natural muscovite is normally stable up to ______

A. 300oC
B. 600oC
C. 800oC
D. 1000oC
Answer» C. 800oC
89.

A copolymer of butadiene and acrylonitrile is known as __________

A. Nitrile rubber
B. Butyl rubber
C. Polysulphide rubber
D. Fluorine rubber
Answer» B. Butyl rubber
90.

The presence of arc blower makes good quality welds.

A. True
B. False
Answer» C.
91.

What is the percentage of carbon present in low alloy steel?

A. 0.15%
B. 0.2%
C. 0.25%
D. 0.3%
Answer» D. 0.3%
92.

What is the current required in an Oxygen’s INDARC 400 (S) transformer?

A. 20 amp to 100 amp
B. 40 amp to 250 amp
C. 50 amp to 400 amp
D. 60 amp to 500 amp
Answer» D. 60 amp to 500 amp
93.

What is the capacity of an automatic welding machine?

A. 100 to 200A
B. 300 to 400A
C. 500 to 700A
D. 800 to 3000A
Answer» E.
94.

Compute the loss factor when the loss tangent is 0.88 and the real part of dielectric is 24.

A. 12.12
B. 12.21
C. 21.21
D. 21.12
Answer» E.
95.

The temperature of sink of Carnot’s engine is 27°C. If the efficiency of the engine is 25%, then the temperature of source must be ___________

A. 27°C
B. 127°C
C. 227°C
D. 327°C
Answer» C. 227°C
96.

The efficiency of Carnot’s engine operating between reservoirs, maintained at temperature 27°C and -123°C is ___________

A. 50%
B. 24%
C. 0.75%
D. 0.4%
Answer» B. 24%
97.

Assertion: In adiabatic compression, the internal energy and temperature of the system gets decreased.Reason: The adiabatic compression is a slow process.

A. Both assertion and reason are true and the reason is the correct explanation of the assertion
B. Both assertion and reason are true but the reason is not a correct explanation of the assertion
C. Assertion is true but the reason is false
D. Both assertion and reason are false
Answer» E.
98.

If the temperature of the source is increased, the efficiency of a Carnot engine?

A. Increases
B. Decreases
C. Remains constant
D. First increases and then remains constant
Answer» B. Decreases
99.

A perfect gas is contained in a cylinder kept in vacuum. If the cylinder suddenly bursts, then the temperature of the gas ___________

A. Becomes zero K
B. Is decreased
C. In increased
D. Remains unchanged
Answer» E.
100.

The freezer in a refrigerator is located at the top section so that ___________

A. The entire chamber of the refrigerator is cooled quickly due to convection
B. The motor is not heated
C. The heat gained from the environment is high
D. The heat gained from the environment is low
Answer» B. The motor is not heated