Science and Technology Quiz

A comprehensive quiz covering computer keyboard shortcuts, C programming concepts, and basic science topics in chemistry, physics, and biology.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Gingivitis would affect what part of your body

  1. Lips
  2. Toes
  3. Fingernails
  4. Gums
Question 2 Multiple Choice (Single Answer)

Which is the lightest element

  1. Sodium
  2. Lithium
  3. Sulphur
  4. Potassium
Question 3 Multiple Choice (Single Answer)

What is the crystalline form of silica better known as

  1. Diamond
  2. Ruby
  3. Quartz
  4. Emerald
Question 4 Multiple Choice (Single Answer)

Which of the following measures how quickly an object moves over a certain distance

  1. Speed
  2. Velocity
  3. Force
  4. Energy
Question 5 Multiple Choice (Single Answer)

What does pH measure of the concentration of

  1. Hydrogen Ions
  2. NaOH
  3. HCL
  4. Oxygen
Question 6 Multiple Choice (Single Answer)

What are proteins composed of

  1. Lipids
  2. Proteins
  3. Fatty Acids
  4. Amino Acids
Question 7 Multiple Choice (Single Answer)

void main() { i=50; printf("%d",i); } What should be added to this file, so that the program is compiled.

  1. int i; /*above main() */
  2. extern int i; /*inside main() */
  3. Both 1 & 2
  4. option 3 if i is defined elsewhere.
Question 8 Multiple Choice (Single Answer)

struct io { int i=0; int j; }; void main() { io op; op.j=20; printf("i = %d",op.i); printf("j= %d",op.j); }

  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
Question 9 Multiple Choice (Single Answer)

struct vg { int cry; int cop; int count; struct vg *next; }; void append(struct vg **q,int cry, int cop) { struct vg *temp,*r; temp = *q; if(*q==NULL) { temp = (struct vg *)malloc(sizeof(struct vg)); temp->cry=cry; temp->cop=cop; temp->count = 0; temp->next=NULL; *q=temp; } else { temp = *q; while(temp->next !=NULL) { temp=temp->next; } r = (struct vg *)malloc(sizeof(struct vg)); r->cry=cry; r->cop = cop; r->count = 0; r->next=NULL; temp->next=r; } } void main() { int cry=0,cop=0; struct vg *p; p=NULL; printf(" Enter the Crystal and coupler number"); scanf("%d %d",&cry, &cop); How the append function should be called.

  1. append(*p,cry,cop);
  2. append(&p,cry,cop);
  3. append(**p,cry,cop);
  4. append(p,cry,cop);
Question 10 True/False

void main() { int i=0; int j = ++i; if(j>i) main(); } the program compiles. }

  1. True
  2. False
Question 11 True/False

A dangling pointer cannot be used as a data structure

  1. True
  2. False
Question 12 True/False

struct vg { int cry; int cop; int count; struct vg *next; }; void append(struct vg **q,int cry, int cop) { struct vg *temp,*r; temp = *q; if(*q==NULL) { temp = (struct vg *)malloc(sizeof(struct vg)); temp->cry=cry; temp->cop=cop; temp->count = 0; temp->next=NULL; *q=temp; } else { temp = *q; while(temp->next !=NULL) { temp=temp->next; } r = (struct vg *)malloc(sizeof(struct vg)); r->cry=cry; r->cop = cop; r->count = 0; r->next=NULL; temp->next=r; } } boolean is_exist(struct vg **q,int cry, int cop) { boolean result = false; struct vg *temp=NULL,*r; temp = *q; if(*q==NULL) { result = true; } else { while(temp!=NULL) { n = (struct node *)malloc(sizeof(struct node)); if(temp->cry == cry && temp->cop == cop) { result = true; } else { result = false; } temp = temp->next; } } } void main() { int cry=0,cop=0; struct vg *p; p=NULL; printf(" Enter the Crystal and coupler number"); scanf("%d %d",&cry, &cop); printf("\n"); if(!is_exist(&p,cry,cop)) append(&p,cry,cop); if(can_send_info(&p,cry,cop)) { printf(" Data sent to couplers"); } else { printf(" Data NOT sent to couplers"); } } compilation fails ???

  1. True
  2. False
Question 13 Multiple Choice (Single Answer)

in Text Editing what is the shortcut key for "end of doucment"

  1. End
  2. Ctrl + End
  3. Home
  4. Ctrl + Home
Question 14 Multiple Choice (Single Answer)

URL Shortcut (Adds www. + .net)

  1. Ctrl + Enter
  2. Ctrl + Shift + Enter
  3. Shift + Enter
  4. Ctrl + D
Question 15 Multiple Choice (Single Answer)

Make selected text subscript

  1. Ctrl + '+'
  2. Ctrl + S
  3. Ctrl + *
  4. Ctrl + Shift + '+'
Question 16 True/False

"Ctrl + space" is for 'pop up window menu'

  1. True
  2. False
Question 17 Multiple Choice (Single Answer)

Close dialog

  1. space
  2. Enter
  3. Esc
  4. Backspace
Question 18 Multiple Choice (Single Answer)

Ctrl + W

  1. minimize current tab
  2. close all tabs
  3. Create new tab
  4. Close current tab
  5. minimize all tabs
Question 19 Multiple Choice (Single Answer)

Task Manager

  1. Ctrl + Alt + Delete
  2. Ctrl + Shift + Esc
  3. both of above
  4. none
Question 20 Multiple Choice (Single Answer)

Rename file

  1. F1
  2. F2
  3. F5
  4. F9
  5. F10