Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**Identity****Member**- Registered: 2007-04-18
- Posts: 934

A friend of mine posted this mean quiz on facebook:

1.The number of correct answers in this quiz which are even.

(A) 3 (B) 5 (C) 7 (D) 9

2.The number of correct answers in this quiz which are odd.

(A) 4 (B) 6 (C) 8 (D) 10

3.The sum of the correct answers to questions #1 and #6.

(A) 7 (B) 9 (C) 11 (D) 13

4.The difference of the correct answers to questions #15 and #10

(A) 0 (B) 4 (C) 5 (D) 11

5.The number of correct answers in this quiz which are prime.

(A) 4 (B) 6 (C) 8 (D) 10

6.The product of the correct answers to questions #7 and #11.

(A) 4 (B) 6 (C) 8 (D) 10

7.The quotient of the correct answers to questions #5 and #13.

(A) 2 (B) 3 (C) 4 (D) 5

8.The number of correct answers in this quiz which are perfect squares.

(A) 2 (B) 3 (D) 4 (D) 5

9.The number of correct answers in this quiz which are powers of two.

(A) 2 (B) 3 (D) 4 (D) 5

10.The correct answer to question #14 to the power of the correct answer to question #12.

(A) 1 (B) 4 (C) 7 (D) 8

11.The number of correct answers in this quiz which are two digits.

(A) 1 (B) 2 (C) 3 (D) 4

12.The number of correct answers in this quiz which are 10.

(A) 0 (B) 1 (C) 2 (D) 3

13.The number of correct answers in this quiz which are non-zero triangle numbers.

(A) 1 (B) 2 (C) 3 (D) 4

14.The correct answer to question #9 plus question #3 minus question #4.

(A) 1 (B) 2 (C) 4 (D) 7

15.The number of factors of the sum of all the correct answers in this quiz.

(A) 4 (B) 6 (C) 8 (D) 12

I'd like your opinion, is this quiz actually doable or just a mean prank? How long do you think it would take to crack it manually? Any strategies? What is the least time a calculator could crack it?

I drew a mind map and worked out what the universally dependent questions are (questions which rely on you knowing all the answers already).

They are 1, 2, 5, 9, 12, 13, 15

Basically, what I'm trying to do now is create a calculator program which will run through possible answers and see if they fit the criteria. This cannot be done normally though, because then there would 4^15 loops. I've tried to reduce the workload on the calculator.

Let a = Q.5, b = Q.13, c = Q.7, d = Q.11, e = Q.6, f = Q.1, g = Q.2, h = Q.3, i = Q.15, j = Q.12, k = Q.10, L = Q.4, m = Q.9, n = Q.14, p = Q.8

Edit: I've finished my program!!!

```
Quiz()
Prgm
ClrIO
For a, 4, 10, 2
0 -> j
If a = 10
j+1 -> j
For b, 1, 4, 1
If a/b=iPart(a/b) Then
a/b -> c
For d, 1, 4, 1
d*c -> e
If e = 4 or e = 6 or e = 8 or e = 10 Then
If e = 10 and a = 10
j+1 -> j
for f, 5, 9, 2
15-f = g
If g = 10 and e = 10 and a = 10
j+1 -> j
a+g -> h
If h = 7 or h = 9 or h = 9 or h = 13 Then
For i, 1, 4, 1
1/3i^3-2i^2+17/3i -> i
For k, 1, 4, 1
-1/3k^3+2k^2-2/3k -> k
i - k -> L
For m, 2, 5, 1
m+h-l -> n
For p, 1, 4, 1
0 -> z
If isPrime(a) = true
z+1 -> z
If isPrime(b) = true
z+1 -> z
If isPrime(c) = true
z+1 -> z
If isPrime(d) = true
z+1 -> z
If isPrime(e) = true
z+1 -> z
If isPrime(f) = true
z+1 -> z
If isPrime(g) = true
z+1 -> z
If isPrime(h) = true
z+1 -> z
If isPrime(i) = true
z+1 -> z
If isPrime(j) = true
z+1 -> z
If isPrime(k) = true
z+1 -> z
If isPrime(l) = true
z+1 -> z
If isPrime(m) = true
z+1 -> z
If isPrime(n)= true
z+1 -> z
If isPrime(p) = true
z+1 -> z
If z = a Then
0 -> z
If 2^x=a and x = iPart(x)
z+1 -> z
If 2^x=b and x = iPart(x)
z+1 -> z
If 2^x=c and x = iPart(x)
z+1 -> z
If 2^x=d and x = iPart(x)
z+1 -> z
If 2^x=e and x = iPart(x)
z+1 -> z
If 2^x=f and x = iPart(x)
z+1 -> z
If 2^x=g and x = iPart(x)
z+1 -> z
If 2^x=h and x = iPart(x)
z+1 -> z
If 2^x=i and x = iPart(x)
z+1 -> z
If 2^x=j and x = iPart(x)
z+1 -> z
If 2^x=k and x = iPart(x)
z+1 -> z
If 2^x=l and x = iPart(x)
z+1 -> z
If 2^x=m and x = iPart(x)
z+1 -> z
If 2^x=n and x = iPart(x)
z+1 -> z
If 2^x=p and x = iPart(x)
z+1 -> z
If z = m Then
0 -> z
If x*(x+1)/2=a and x=iPart(x)
z+1 -> z
If x*(x+1)/2=b and x=iPart(x)
z+1 -> z
If x*(x+1)/2=c and x=iPart(x)
z+1 -> z
If x*(x+1)/2=d and x=iPart(x)
z+1 -> z
If x*(x+1)/2=e and x=iPart(x)
z+1 -> z
If x*(x+1)/2=f and x=iPart(x)
z+1 -> z
If x*(x+1)/2=g and x=iPart(x)
z+1 -> z
If x*(x+1)/2=h and x=iPart(x)
z+1 -> z
If x*(x+1)/2=i and x=iPart(x)
z+1 -> z
If x*(x+1)/2=j and x=iPart(x)
z+1 -> z
If x*(x+1)/2=k and x=iPart(x)
z+1 -> z
If x*(x+1)/2=l and x=iPart(x)
z+1 -> z
If x*(x+1)/2=m and x=iPart(x)
z+1 -> z
If x*(x+1)/2=n and x=iPart(x)
z+1 -> z
If x*(x+1)/2=p and x=iPart(x)
z+1 -> z
If z = b Then
a+b+c+d+e+f+g+h+i+j+k+l+m+n+p -> s
0 -> z
For t, 1, iPart([math]\sqrt(s)[/math]), 1
If s/t=iPart(s/t)
r+1 -> r
EndFor
If r=i Then
Disp a, b, c
Pause
Disp d, e, f
Pause
Disp g, h, i
Pause
Disp j, k, l
Pause
Disp m, n, p
EndIf
EndIf
EndIf
EndIf
EndFor
EndFor
EndFor
EndFor
EndIf
EndFor
EndIf
EndFor
EndIf
EndFor
EndFor
EndPrgm
```

With this many loops I hope the calculator will be able to solve the quiz within a few hours?

*Last edited by Identity (2007-09-22 19:10:50)*

Offline

**Identity****Member**- Registered: 2007-04-18
- Posts: 934

...But my calculator doesn't seem to want to do it... when I run program it just says...

__________________________________________________________________________

Quiz()

Done

__________________________________________________________________________

__________________________________________________________________________

Offline

Hmm... How can this be solved?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 16,015

Ah, I have a feeling phro would love this quiz!

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

Where is he? ঃ?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

I'm not crazy, my mother had me tested.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,803

Did anyone try the program?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

Pages: **1**