Repository navigation
Expand file tree
/
Copy pathQuestionList.java
More file actions
136 lines (125 loc) · 5.26 KB
/
Copy pathQuestionList.java
File metadata and controls
136 lines (125 loc) · 5.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import java.util.Scanner;
public class QuestionList {
private static String answer;
private static Scanner Input;
public static int question1() {
System.out.println(
"""
True or False: people in 1920s had to chose
between religion or Alcohol
a) True
b) False """);
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("B") ? 1 : 0;
}
public static int question2() {
System.out.println(
"""
True or False: The womens' sufferage movent had
nothing to do with the prohibition
a) True
b) false""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("B") ? 1 : 0;
}
public static int question3() {
System.out.println("""
True or False: people going to saloons and buying beer,
were propigandized as trators to America
a) True
b) false""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("A") ? 1 : 0;
}
public static int question4() {
System.out.println("""
True or False: It was illegal for protesters to protest
outside saloons before the Volstead Act
a) True
b) false""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("B") ? 1 : 0;
}
public static int question5() {
System.out.println("""
Who involved the women's sufferage movement into the
prohibition
a) Carrie Nation
b) Frances Willard
c) None, it was not involved""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("B") ? 1 : 0;
}
public static int question6() {
System.out.println(
"""
what is an example of people being propigandize
against not drinking?
a: It was a moral given to not drink and therefore
had no propaganda
b: It was a legal given to not drink and therefore
had no propaganda
c: It was forced into the education system""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("C") ? 1 : 0;
}
public static int question7() {
System.out.println(
"""
what were the two opposing perspectives on the
prohibition generallized to?
a: Drunkies v. Sobreity
b: Wets v. Dries
c: Everyone agreed that drinking was bad""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("B") ? 1 : 0;
}
public static int question8() {
System.out.println(
"""
What acts did Carrie Nation do in protest
against Saloons
a: She broke into them
b: She would protest outside them
c: They already all closed""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("A") ? 1 : 0;
}
public static int question9() {
System.out.println(
"""
How did the Anti-Saloon League convice people
(particularly small towns) against saloons?
a: They would all break into saloons and trash
the place
b: Report misinformation of the affects of
alcohol
c: Nothing, everybody already hated saloons""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("B") ? 1 : 0;
}
public static int question10() {
System.out.println(
"""
How did the Volstead act itself affect the legality
of Drinking and how was it enforced
a: It did not change the legality of drinking
alcohol and therefore was unenforced
b: It made drinking alcohol illegal, and much
resources were spent ensuring saloons closed
c: It drinking alcohol illegal, but it was rarely
enforced""");
Input = new Scanner(System.in);
answer = Input.nextLine();
return answer.toUpperCase().equals("C") ? 1 : 0;
}
}