Name:mohamed khaled mohamed ahmed
allam
Id:2051710175
Q-1}
Computer vision is a specialty that enables computers to interpret
and understand the visual world. It involves ways to acquire,
process, analyze, and understand real-world images and often
high-level data to create digital data or symbols. Applications
include facial recognition, object detection and tracking, medical
image editing, medical image analysis, driverless cars,
augmented reality, and more. These applications use computer
vision to perform tasks that require visual perception, improve
performance, and enable new capabilities in many areas.
Q-2}
A} Number of pixels for 1024 × 768 screen resolution
Number of pixels=1024×768
Number of pixels=1024×768
Number of pixels=786,432
B} Therefore, for 500 colors per pixel, the total bits per pixel
would be
500×24=12,000 bits.
Total bits for image=12,000 bits/pixel×786,432 pixels
8.97=9 bits per pixel
So, we need 9 bits to represent 500 colors
Total bits=786,432×9=
Total bits=7,077,888
C} Total bits in megabits= 7,077,888 bits/1000000
Total bits in megabits=7.077888 Mbits
Given an upload speed of 2.5 Mbits per second, the time to upload the image is:
Time=7.077888/2.5mbit/sec
Time=2.8311552 seconds
Q-3)
A)
1 = 1 × 2^0 = 1
1 = 1 × 2^1 = 2
1 = 1 × 2^2 = 4
0 = 0 × 2^3 = 0
1 = 1 × 2^4 = 16
10111 = 16+0+4+2+1
10111 = 23
1 = 1 × 2^-1 = 0.5
0 = 0 × 2^-2 = 0
1 = 1 × 2^-3 = 0.125
0.101 = 0.500.125
0.101 = 0.625
10111.101=23.625
B) Convert 192 to binary:
192₁₀=11000000₂
Convert 68 to binary:
68₁₀=01000100₂
Convert 10 to binary:
10₁₀=00001010₂
Convert 40 to binary:
40₁₀=00101000₂
192.68.10.40in binary is11000000.01000100.00001010.00101000
C)
A) (01100010)2 = 0*2^7 + 1*2^6 + 1*2^5 + 0*2^4 + 0*2^3 +
0*2^2 + 1*2^1 + 0*2^0 = 0 + 64 + 32 + 0 + 0 + 0 + 2 + 0 =
98 , (01100010)2 = (98)10
b) (1110010)2 to octal, (1110010)2 = (001 110 010)2 = (1 6 2)8
= 162 , (1110010)2 = (162)8
c) (1*16¹)+(10*16°)=16+10=26
d) (3BA)16=(3564)8
D)
88/2=44 rem. (0)
44/2= 22 rem (0)
22/2= 11 rem (0)
11/2= 5 rem. (1)
5/2= 2 rem (1)
2/2= 1 rem (0)
000110
Read from the left
011000
88=11011000
Due to the negative sign
e) F=c+b
Q-4)
Students Table:
| Student ID | Student name | Gender | DOB|
|------------|--------------|--------|----------|
| 67678 | Jim |M | 30/01/20 |
| 67677 | Jane |F | 02/01/20 |
| 67222 | Lucy |F | 08/03/20 |
Courses Table:
| Course ID | Course Name | Teacher ID |
|-----------|------------------------|------------|
| F451 | Computer Fundamentals | 4445 |
| F452 | Programming & Logic | 4445 |
**Teachers Table**:
| Teacher ID | Teacher name |
|------------|--------------|
| 4445 | Mr.Surall |
Enrollments Table:
| Student ID | Course ID |
|------------|-----------|
| 67678 | F451 |
| 67677 | F451 |
| 67678 | F452 |
| 67222 | F452 |
Q-5)
0 0 0 0 0
0 0 0 0 0
0 0 1 0 0
0 1 0 0 1
0 0 0 1 1
1 1 0 0 0
1 0 0 1 0
A) A3*3 BLOCK 3
B)
0 0 1 0 0
0 0 0 0 0
0 0 1 0 0
0 1 0 0 1
0 0 0 1 1
1 1 1 0 0
1 0 0 1 0