WorksheetsИнформатика 7 сынып каз
Total questions: 30
Worksheet time: 15mins
10 20 30 мән бергенде не шығады?
fin = open("input.txt", "r")
p = fin.read().split()
a, b, c = map(int, p)
k = (a + b + c) / 3
fout = open("output.txt", "w")
fout.write(str(k))
fin.close()
fout.close()
10
20
-10
30
1526814785 мән бергенде не шығады?
fin = open("a.txt", "r")
p = fin.read().split()
m, p = map(int, p)
a = m % 10
b = p % 10
fout = open("b.txt", "w")
fout.write(str(a * b))
fin.close()
fout.close()
қате
45
20
40
20 мән бергенде не шығады?
fin = open("input.txt", "r")
p = fin.read().split()
m, p = map(int, p)
a = m % 10
b = p % 10
fout = open("output.txt", "w")
fout.write(str(a * b) + '\n')
fout.write('60')
fin.close()
fout.close()
20 40
60 40
40 60
қате
17, 62 не шығады?
a = int(input())
if a % 2 == 1:
print('1')
else:
print('0')
1 0
-1 0
0 1
0 -1
5 100 5, 10 8000 90 мән бергенде не шығады?
v, s, t = map(int, input().split())
if (v * t) >= s:
print('iа')
else:
print('joq')
ia joq
joq
ia
joq ia
5 100 15, 10 800 90 мән бергенде не шығады?
v, s, t = map(int, input().split())
if (v * t) >= s:
print('iа')
else:
print('joq')
iа, joq
joq, iа
iа
joq
-8 -10 -6 -5 , -3 -6 -4 -5 не шығады?
a,b,c,t = map(int, input().split()) t1=max(a,b,c)
if tl < t:
print('ia')
else:
print('joq')
joq
joq, iа
қате
ia, joq
Қандай өрнек шығады?
x=int(input())
if x>0:
y=x+100
else:
if x==0:
y=20
else:
y=x**2
print (y)
х + 100, егер х > 0
20, erep x = 0
- х2, егер x < 0
х + 100, егер х > 0
-20, erep x = 0
- х2, егер x < 0
х + 100, егер х > 0
10, erep x = 0
- х2, егер x < 0
х + 100, егер х > 0
-10, erep x = 0
- х2, егер x < 0
-8 15 -6 не шығады?
p,k, z=map (int,input().split())
if p>0:
x=p**3
else:
if p<0:
x=p+k
else:
х=р-z
print(x)
5
7
3
6
15 12 25 19, 7 18 33 15 мәнін бергенде нәтиже?
x1,y1=map(int, input().split())
x2,y2-map (int, input ().split())
x3, y3-map (int, input ().split())
x4,y4=map(int,input().split())
х=х1+х2+х3+х4
y=y1+y2+y3+y4
print(x,':',у)
қате
73 71
73 0
71 73
217 10 5 1 мәнін бергенде нәтиже?
S,К, Р, N=map (int, input().split())
а=Ѕ//К
S=S&K
b=S//P
S=S&P
C=S//N
t=a+b+c
print(t)
6
9
24
14
214 456 300 мәнін бергенде нәтиже?
a=input()
b=input ()
c-input ()
x=a+b+c
y=int(a)+int(b)+int(с)
print(x)
print(y)
970
214
1020
860
4 -8 мәнін бергенде нәтиже?
x1,x2=map (int,input().split())
s=abs (x2-х1)
print(s)
4
24
11
12
5 мәнін бергенде не шығады?
x=int(input())
y=3*(x-2) 3+5 (x-4)*2-7
print (y)
79
29
қате
109
150 50 мәнін бергенде не шығады?
P, K-map (int, input ().split())
T=P-K
S=P+T
print(s)
150
250
50
қате
100 10 15 мәнін бергенде не шығады?
a,k,c=map(int,input().split())
x=a//к y=a//c
print(x,y)
6 10, -10
10 6, 1 0
10 6, -10
қате
120481 мәнін бергенде нәтиже?
m-int (input())
t=m//1000
m-m 1000
c-m//100
kq-m 100
print(t, 'тонн',с,'центнера', kg, 'килограмм')
120 tonna 4 centner 80 kilogram
100 tonna 4 centner 81 kilogram
100 tonna 4 centner 80 kilogram
120 tonna 4 centner 81 kilogram
120481 мән бергенде нәтиже?
m=int(input())
v=m//60000
if m%60000==0:
print(v, 'вагон")
else:
print(v+1, 'вагон')
3 vagon
6 vagon
қате
5 vagon
-16 -12 11 5 -8 мән бергенде нәтиже?
s=int(input()) w=int(input())
z=int(input())
b=int(input())
o=int(input())
t=int((s+w+z+b+o)/5)
print(t)
-8
8
-4
4
5 мән бергенде нәтиже?
r=int(input())
рі=3.14
L=2*pi*r
S=pi*r**2
print('L=',L)
print('S=',S)
қате
L=31
S=78.5
L=31.4
S=78
L=31.4
S=78.5
8596 мәнін бергенде нәтиже?
n=int(input())
a=n//100%10
b=n%10
s=a+b
print(s)
6
11
9
10
12145 мәнін бергенде нәтиже?
n=int(input())
a=n//1000
b=n%1000
s=a+b
print(s)
121
145
157
120
9 4 2 мәнін бергенде нәтиже?
a=int(input())
b=int(input())
c=int(input())
s=a*b*c
p=a+b+c
x=s%10+p%10
print(x)
9
7
4
2
8 7 11 мәнін бергенде нәтиже?
k=int(input())
1=int(input())
m=int(input())
s=k+1+m
х=s//3
y=s%3
print (x)
print (y)
7 11
2 8
11 7
8 2
1012552 мәнін бергенде нәтиже?
L-int (input())
km=L//1000000
L=L% 1000000
m=L//1000
L=L%1000
cm=L//10
mm=L%10
print (km, 'km', m, 'm', cm, 'cm', mm, 'mm')
1 km 12 m 55 cm 2 mm
11 km 1 m 55 cm 2 mm
1 km 12 m 5 cm 52 mm
11 km 12 m 55 cm 2 mm
8 9 мәнін бергенде нәтиже?
n=int (input())
x=n//10
y=n%10
s=x+y
p=x*y
print (s)
print (p)
14 70
72 17
17 72
70 14
2 10 мәнін бергенде нәтиже?
n=int (input())
x=n//10
y=n%10
s=x+y
p=x*y
print (s)
print (p)
12 20
8 12
12 -20
20 -12
100 45 210 мәнін бергенде нәтиже?
a=input()
b=input ()
c=input ()
x=a+b+c
y=int(a)+int(b)+int(с)
print(x)
print(y)
500
355
365
515
12 50 35 мәнін бергенде нәтиже?
a=input()
b=input ()
c=input ()
x=a+b+c
y=int(a)+int(b)+int(с)
print(x)
print(y)
62
85
79
97
6 6 мәнін бергенде нәтиже?
n=int (input())
x=n//10
y=n%10
s=x+y
p=x*y
print (s)
print (p)
12 36
36 12
10 30
30 10
