FTTI Assignment
FTTI Assignment
Question A B C D A B C D
1. Which of the _var var_name 2variable variable2 O O O O
following is not
a valid variable
name in
Python?
2. Which of the
following logic
gates
produces a
HIGH (1) XOR OR NOT And O O O O
output only
when all of its
inputs are
HIGH (1)?
3. What does
2FA (Two- Two Two different Two different Two different
Factor
different encryption authentication user accounts O O O O
Authentication)
require for passwords keys methods methods
user access?
4. Natural
disaster
prediction
helps the
Pandemic Cyclones Data analysis Temperature O O O O
people to take
preventive
measure
against
5. Sensors used
for measuring
humidity, air
quality, air Motion
Environment Industrial Measurement
pressure, detection O O O O
sensors sensors sensors
temperature sensors
and wind
speed are
called:
6. What will be
the output of
3 5 8 error O O O O
the following
code?
x=5
x += 3
print(x)
7. _____are
graphics and
images
Secondary
describing Visual Text Worksheets Infographics O O O O
data
information
and data in a
visual way.
8. ____ helps to
mitigate risk
Risk Iterative Data
and reduce the Cost Saving O O O O
reduction development Visualization
likelihood of
costly errors.
9. Which
technology
ensures that
transaction
data on a Centralization Cryptography Intermediaries Data mining O O O O
block chain is
secure and
can not be
altered.
10. What is the
correct syntax for i in for each i in 5:
for a for loop in for(i =0; i < 5; for i to 5:
Python?
range(5): O O O O
i++)
Q2. Give short answers of the following. Each part carries equal marks (14x3=42)
i. In what way is alpha prototype different 03 OR Design Logic circuit for the following 03
from beta prototype? Boolean Function :
𝑨𝑩 + 𝑨𝑩𝑪 + (𝑩 + 𝑪 )
ii. a. Find out put of the following program 1.5 OR
numbers = [1, 2, 3, 4, 5]
total_sum = 0
for number in numbers:
total_sum += number
+ 03
Define digital literacy and its
print("Sum of all elements:", total_sum) significance.
b. Write a program to print the following 1.5
list in reverse order
my_list = [10, 20, 30, 40, 50]
iii. Provide specific examples of sources that 03 OR Draw Trace Table 03
are considered reliable and sources that 1.count=4
are unreliable? 2.Number=0
3.while (count!=0)
4. Number=count *2
5. print(Number)
6. count=count-1
iv. Write an algorithm and draw a flowchart to 03 OR Differentiate between public block 03
calculate 2 4 using a loop approach? chain network and private block chain
network .
v. Write down 3 differences between supervised 03 OR Find the errors and correct them 03
and unsupervised learning. From radm import randint
Rnums={ }
For( I in range (10)
Rn.append(randint(1,99)
Print(Rn):
vi. What are loops ? Define For and while loop? 1+1 OR What is Correlation in experimental 03
design ?
+1
vii. Sort the following array using Insertion Sort. 03 OR What will be the output of these .5 X
23 1 10 5 2 Bitwise Operators.
i. 6 & 9
ii. 12 ^ 8 03
iii. 8 << 2
iv. 5 >> 3
v. ~ 9
vi. 15 | 5
viii. If EARTH is written as FCUXM in a certain 03 OR Evaluate the following expression 03
code. How is MOON written in that code? using the correct order of operations
in Python:
i. 20-2/6+3
ii. 3*(2+7*4)
iii. 4*5/10+8
ix. Write a program in Python that reads 03 OR Draw XOR and NOR gates with their 1.5
three numbers and prints the largest one. truth table. 1.5
xi. What is the goal of regression analysis in 03 OR What are AI Systems ? What are 1.5
statistical modeling? Stakeholders in AI Systems? 1.5
xii. What will be the output of the following 1+ a. What is the hexadecimal 1+1+
code? representation of the binary number
a. 10101110?
for i in range(2): 1+ 1
for j in range(2): b. Convert (EFA)16 to binary number.
print(i, j)
b. 1 c. Convert (11011)2 to decimal
x=4 number.
y=3
z=x*y
x=z+2
print(x)
c.
x = 10
y = 20
x, y = y, x
print(x, y)
xiii. Differentiate between local and global 1.5 OR Write code to take input from user 03
variables with examples. and print mathematical table on
screen from 1 to 20.
+
1.5
Q3 Data Collection is the process of 5 OR Draw Logic Circuit , Truth Table and 1.5
collecting , measuring and analyzing Simplify the following Boolean +
different types of information using a function using K-Map method. 1.5
set of standard validated techniques. +2
𝐹 = 𝑥̅ 𝑦̅ 𝑧̅ + 𝑥̅ 𝑦̅ 𝑧 + ̅𝑥 y z + x y 𝑧̅ + x 𝑦̅ z
Explain the techniques to collect data.
Q4 a.What are Trace Tables? 2.5 OR Define System implementation . 5
b.Draw Trace Table for following code. + Categorize the various methods of
2.5 system implementation