answersLogoWhite

0


Best Answer

import java.io.*;

public class QandA{

public static void main (String args[]) throws IOException{

BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in));

int Score = 0;

String q1 = "";

System.out.println("Q1: What is anything that occupies space and has mass?");

System.out.println("a: matter");

System.out.println("b: water");

System.out.println("c: molecule");

System.out.println("d: atom");

q1 = dataIn.readLine();

char a1 = q1.charAt(0);

switch(a1){

case 'a':

System.out.println(":)");

Score = Score + 1;

break;

case 'b':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q2 = "";

System.out.println("Q2: What is the average of this numbers: 10,20 and 30?");

System.out.println("a: 20");

System.out.println("b: 50");

System.out.println("c: 15");

System.out.println("d: 30");

q2 = dataIn.readLine();

char a2 = q2.charAt(0);

switch(a2){

case 'a':

System.out.println(":)");

Score = Score + 1;

break;

case 'b':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q3 = "";

System.out.println("Q3: Who is the current president of the Philippines?");

System.out.println("a: Benigno Aquino I");

System.out.println("b: Benigno Aquino II");

System.out.println("c: Benigno Aquino III");

System.out.println("d: Benigno Aquino IV");

q3 = dataIn.readLine();

char a3 = q3.charAt(0);

switch(a3){

case 'c':

System.out.println(":)");

Score = Score + 1;

break;

case 'b':

System.out.println("Wrong Answer");

break;

case 'a':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q4 = "";

System.out.println("Q4: What is the product of 32 multiplied by 20?");

System.out.println("a: 540");

System.out.println("b: 640");

System.out.println("c: 740");

System.out.println("d: 620");

q4 = dataIn.readLine();

char a4 = q4.charAt(0);

switch(a4){

case 'b':

System.out.println(":)");

Score = Score + 1;

break;

case 'a':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q5 = "";

System.out.println("Q5: What is the outermost layer of the earth?");

System.out.println("a: crust");

System.out.println("b: mantle");

System.out.println("c: outer core");

System.out.println("d: inner core");

q5 = dataIn.readLine();

char a5 = q5.charAt(0);

switch(a5){

case 'a':

System.out.println(":)");

Score = Score + 1;

break;

case 'b':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q6 = "";

System.out.println("Q6: What is the study of morality and values?");

System.out.println("a: etiquette");

System.out.println("b: ethics");

System.out.println("c: logic");

System.out.println("d: epistemology");

q6 = dataIn.readLine();

char a6 = q6.charAt(0);

switch(a6){

case 'b':

System.out.println(":)");

Score = Score + 1;

break;

case 'a':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q7 = "";

System.out.println("Q7: Who is the national hero of the Philippines?");

System.out.println("a: Miriam Santiago");

System.out.println("b: Andres Bonifacio");

System.out.println("c: Jose Rizal");

System.out.println("d: Juan Luna");

q7 = dataIn.readLine();

char a7 = q7.charAt(0);

switch(a7){

case 'c':

System.out.println(":)");

Score = Score + 1;

break;

case 'b':

System.out.println("Wrong Answer");

break;

case 'a':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q8 = "";

System.out.println("Q8: Who created the 'Organon'?");

System.out.println("a: Plato");

System.out.println("b: Aristotle");

System.out.println("c: Pythagoras");

System.out.println("d: Galileo");

q8 = dataIn.readLine();

char a8 = q8.charAt(0);

switch(a8){

case 'b':

System.out.println(":)");

Score = Score + 1;

break;

case 'a':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q9 = "";

System.out.println("Q9: Solve the ff. equation: 1x1+1-1x2+2-2 ");

System.out.println("a: 1");

System.out.println("b: 2");

System.out.println("c: 3");

System.out.println("d: 4");

q9 = dataIn.readLine();

char a9 = q9.charAt(0);

switch(a9){

case 'b':

System.out.println(":)");

Score = Score + 1;

break;

case 'a':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'd':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

String q10 = "";

System.out.println("Q10: Who is the 1st person to land on the moon?");

System.out.println("a: Greg Armstrong");

System.out.println("b: David Armstrong");

System.out.println("c: Mark Armstrong");

System.out.println("d: Neil Armstrong");

q10 = dataIn.readLine();

char a10 = q10.charAt(0);

switch(a10){

case 'd':

System.out.println(":)");

Score = Score + 1;

break;

case 'b':

System.out.println("Wrong Answer");

break;

case 'c':

System.out.println("Wrong Answer");

break;

case 'a':

System.out.println("Wrong Answer");

break;

default:

System.out.print("Wrong Answer");

}

System.out.println("Your total score is:" + " " + Score);

}

}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a letter to principal for college leaving certificate?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a letter to the principal requesting the leaving certificate?

To write a letter to the principal requesting a leaving certificate, start by addressing the principal respectfully, stating your name, grade, and reason for needing the certificate. Provide any necessary details, such as personal information or identification number. Close the letter with a polite request for their prompt assistance and thank them for their attention.


How do you write a letter to principal requesting transfer certificate?

write a letter to principal for transfer certificate


How you Write Letter to Principal for School fees certificate for IT return?

certificate return letter


How do you write an application to the principal of college requesting him to arrange one day migration certificate form college.?

To write a letter requesting a one day migration certificate, address the principal respectfully in the salutation and mention your reason for needing the certificate for just a day. Explain your situation briefly, express gratitude for their consideration, and request instructions on how to proceed. End the letter with a polite closing.


How to write a letter to school principal for transfer certificate to make a new passport?

To write a letter to school principal for transfer certificate to make a new passport begin by dating the letter, and addressing it to the principal by name. Then, make the body of the letter short and simply ask for a transfer certificate. Sign the letter with your written name and type your name out under that.


How do you write a letter to principal requesting Transfer Certificate for uncompleted studies?

A letter should be written to the principal, when a person wants to receive a transfer certificate. The name of the uncompleted studies in be in the letter as well as the date of the transfer.


How do you write a letter to the principal for school bornfide certificate?

To write a letter to the principal requesting a school bonafide certificate, you should start by addressing the principal respectfully. Clearly state your purpose for needing the certificate and provide any necessary details such as your name, class, and purpose of the request. Finally, thank the principal for their time and consideration.


How do write a letter for certificate submission to principal?

To write a letter for certificate submission to the principal, address the letter to the principal, clearly state the purpose of the letter which is to submit a certificate, provide details about the certificate being submitted (such as the type of certificate and its relevance), and express gratitude for the opportunity to submit the certificate. Lastly, sign off with your name and contact information in case the principal needs to reach you.


How do you write request letter for getting transfer certificate and study certificate from college MBA?

how do you write request letter for getting transfer certificate and study certificate from college in MBA


How do you write the Letter for getting the provisional certificate to the principal?

To the Principal, I am writing to request a copy of my provisional certificate. I completed my studies at your institution and require the certificate for further education or employment purposes. Please let me know the process to obtain this document. Thank you. Sincerely, [Your Name]


What is another name for college degree that begins with the letter c?

college diploma, certificate


Letter to principal asking for college class picnic?

hi sir