@problem@
	@problemtype@
		truefalse
	@;problemtype@
	@name@
		tutorial_18_true_false_questions_continued
	@endname@
	@preamble@
		y = randint(-7,7)
	@;preamble@
	@content@
		@intro@
			The randomness within the individual questions is not necessarily restricted to numerical values; for example, introducing some random negation of statements provides a simple way of slightly increasing the variation within the question pool.
		@endintro@
		
		@TF@
			z = randint(10,15)
			TRUE()
				The inequality $@y@ \leq @z@$ holds.
		@;TF@
		
		@TF@
			z = randint(-7,7)
			TRUEIF(z<0)
				The number @z@ is negative.
		@;TF@
		
		@TF@
			positive = randbool()
			z = randint(7,11)
			if positive:
				pos_neg = "positive"
				trueans = z>0
			else:
				pos_neg = "negative"
				trueans = z<0
			TRUEIF(trueans)
				The number @z@ is @pos_neg@.
		@;TF@
		
		@TF@
			complex = randbool()
			z = randint(-9,-2)
			if complex:
				text = "complex"
			else:
				text = "real"
			TRUEIF(complex)
				There exists a @text@ number $x$ such that $x^2=@z@$.
		@;TF@
	@;content@
@;problem@