0% found this document useful (0 votes)
380 views

Instruction: Answer ALL The Questions: MCFC Sample Test Ge 1 of 3

This document contains a sample test with 3 questions and various subquestions assessing knowledge of concepts in computer science and mathematics. Question 1 involves converting between number systems, arithmetic operations, and representation of numbers in binary, octal, hexadecimal and floating point formats. Question 2 covers set theory concepts like Venn diagrams, unions, intersections and complements. Question 3 involves relations, functions, equivalence relations and composition of functions. The test evaluates skills in areas like number systems, arithmetic, sets, relations, and functions.

Uploaded by

Arvin Kovan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
380 views

Instruction: Answer ALL The Questions: MCFC Sample Test Ge 1 of 3

This document contains a sample test with 3 questions and various subquestions assessing knowledge of concepts in computer science and mathematics. Question 1 involves converting between number systems, arithmetic operations, and representation of numbers in binary, octal, hexadecimal and floating point formats. Question 2 covers set theory concepts like Venn diagrams, unions, intersections and complements. Question 3 involves relations, functions, equivalence relations and composition of functions. The test evaluates skills in areas like number systems, arithmetic, sets, relations, and functions.

Uploaded by

Arvin Kovan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

MCFC Sample Test 1 Page 1 of 3

INSTRUCTION:
Answer ALL the questions

QUESTION 1 (50 Marks)

(a) Convert 213.7187510 to the following number systems.


(i) binary
(2 marks)
(ii) octal
(2 marks)
(iii) hexadecimal
(2 marks)
(b) Find the value of X for the following equations:
(i) 2A.E16 – 11001.12 = X10 + C.216
(5 marks)
(ii) 73.58 – (X2  1.12) = 31.78 + 17.12510
(5 marks)
(c) Evaluate 1002 × 100.12  (1111.12 – 100.12) by showing the working in base 2. Express
the answer in 4 decimal digits.
(4 marks)
(d) Evaluate the decimal equivalent of this 6-bit arrangement 11 10112 as
(i) Sign-and-magnitude.
(3 marks)
(ii) 1’s complement.
(3 marks)
(iii) 2’s complement.
(3 marks)
(e) Using two’s complement in 8-bit register, show how the computer would evaluate
(i) 1110 11002 – 0110 10112 (Express your answer in base 2.)
(4 marks)
(ii) –10010 + 5410 (Express your answer in base 10.)
(5 marks)
(f) A computer stores a number in a 16-bit word using floating-point arrangement. Given
that the first bit is reserved for the sign, followed by 6 bits for the exponent that having a
biased of (+31) and the remaining bits are for the mantissa.
(i) Show how the computer stores –19.437510.
(6 marks)
(ii) What is the decimal value for 0 011110 010010100?
(6 marks)

Level 1 Asia Pacific University of Technology and Innovation YYYY


MCFC Sample Test 1 Page 2 of 3

QUESTION 2 (30 marks)

(a) In a recent survey people were asked if they took a vacation in the summer, winter or
spring in the past year. Let S denote summer, P denote spring and W denote winter,

n(S) = 73 n(S  W  P) = 10
n(W) = 51 n(S  W) = 33
n(P) = 27 n(W  (S  P)’) = 18
n(S  W  P)’ = 2 n(S  P  W’) = 5

(i) draw a Venn diagram and fill in correct number in each of the regions of the
diagram.
(4 marks)
(ii) find how many people had been surveyed.
(3 marks)
(iii) find the percentage of people who had taken vacations at most one time of the
year.
(2 marks)
(b) For each of the following expressions, draw a Venn diagram and shade the area
described.
(i) A'Ç(BÈC), given that A Ì B, BÇC ¹ Æ, AÇC = Æ
(3 marks)
(ii) (AÈ B) \ C, given that C Ì AÇ B, AÇ B ¹ Æ
(3 marks)
(c) Given the following universal set U and its 3 subsets S, T and P.
U = {x: x is an integer and 0 < x ≤ 10}
S = {x : 2x – 1 > 5}
T = {x : (x – 1)(x – 3)(x – 5)(x – 7) = 0 }
W = {x : 5x + 3 ≤ 29}
(i) List the elements in S, T and W.
(3 marks)
(iii) Find the n[(S  T) \ W].
(2 marks)
(iv) Find the n[P(P[(S  W)])].
(3 marks)
(d) Set A = {x : x is a positive integer and ≤ 10}, B = {2, 4, 6, 8, 10} and C = {3, 6, 9} are
given.
(i) Verify the equalities A \ (B  C) = (A \ B)  (A \ C).
(5 marks)
(ii) Using the symbol , , \ or ’, express how do you get a set D = {2, 4, 8, 10}.
(2 marks)

Level 1 Asia Pacific University of Technology and Innovation YYYY


MCFC Sample Test 1 Page 3 of 3

QUESTION 3 (20 marks)

(a) Let A = {1, 2, 3, 4} to set B = {1, 3, 5, 7, 8}


(i) Construct a relation from set A to B such that R = {(x, y)| 4x + y = 11}
(2 marks)
(ii) What are the domain and range for this relation?
(2 marks)
(iii) Is this relation a function? Explain why.
(2 marks)
(b) Given a relation, R = {(1, 6), (6, 1), (3, 5), (6, 6), (3, 3), (5, 5)} on set {1, 3, 5, 6},
(i) make an arrow diagram of this R.
(3 marks)
(ii) what is the inverse of R?
(1 mark)
(iii) is R an equivalence relation (reflexive, symmetric and transitive)? Explain why?
If no, what ordered pairs are needed to make R be an equivalence relation?
(4 marks)
(c) Given a linear function, f(x) = ax + b,
(i) find the parameters a and b so that f -1(2) = 3 and f -1(-3) = 6.
(4 marks)

(ii) find (g f) (x) when g(x) = 3x + 6.


(2 marks)

Level 1 Asia Pacific University of Technology and Innovation YYYY

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy