Tag: science & technology

Questions Related to science & technology

Multiple choice general knowledge science & technology
  1. Lipids

  2. Proteins

  3. Fatty Acids

  4. Amino Acids

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Proteins are polymers made up of amino acid monomers linked by peptide bonds. There are 20 standard amino acids that combine in various sequences to form different proteins. Lipids, fatty acids are different biomolecules, and "Proteins" as an option is circular reasoning.

Multiple choice general knowledge science & technology
  1. int i; /*above main() */

  2. extern int i; /*inside main() */

  3. Both 1 & 2

  4. option 3 if i is defined elsewhere.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The code uses variable 'i' without declaring it. Options 1 and 2 alone are insufficient. Option 3 (declaring i as extern inside main) requires i to be defined elsewhere globally - that's what D specifies, making it correct.

Multiple choice general knowledge science & technology
  1. output i=0 j=20

  2. output j=20

  3. compiler error starting from "printf("i = %d",op.i);"

  4. compiler error starting at the end of struct io

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

C structs cannot have member initialization at declaration (int i=0 is invalid). This causes a compiler error at struct definition time, not at the printf statements.

Multiple choice general knowledge science & technology
  1. append(*p,cry,cop);

  2. append(&p,cry,cop);

  3. append(**p,cry,cop);

  4. append(p,cry,cop);

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The append function takes a double pointer (struct vg **q) to modify the head pointer. When calling from main with p (a single pointer), we must pass &p to match the double pointer parameter. Option B does this correctly.

Multiple choice general knowledge science & technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Multiple compilation errors: is_exist uses undefined variable 'n' (should be temp), uses undefined type 'boolean', and the result variable 'result' is never returned. The function tries to malloc a struct node instead of struct vg.

Multiple choice general knowledge science & technology
  1. Ctrl + '+'

  2. Ctrl + S

  3. Ctrl + *

  4. Ctrl + Shift + '+'

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Ctrl + '+' (Ctrl plus the plus key) is the standard shortcut in most applications to make selected text subscript. This formatting is commonly used for chemical formulas (H₂O) and mathematical expressions.