![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 12.09.2021 02:30 rebeccathecatt
Question 1:State the values of a, b, c, d and e after the following operations are carried out:
(a) a = 26 mod 5
b) b = 142 div 7
(c) c = (7 + 3) * 4 β 1
(d) d = 15.6 / 3 + 4.8 / 2
(e) e = β4β + β56β
Question 2: The function ord (βaβ) evaluates to 97, the ASCII value of the character βaβ.
chr (97) evaluates to βaβ.
State what is output by this algorithm:
x = ord (βbβ)
y = x + 1
z = x β 1
w = chr (y) + chr (z)
print (x, y, z, w)
Question 3: What is output by the following algorithm?
notice = βPlease do not walk on the grassβ
start = pos (notice, β β)
end = pos (notice, βtβ)
x = substring (0, start, notice)
stringLength = len(notice)
y = substring (end + 2, stringLength β 1, notice)
print (βx = β x)
print (βy = β, y)
print (x + y)
PLEASE HELP ME WITH THIS QUESTIONS I DON'T KNOW HOW TO DO IT I'M LITERALLY CRYING RIGHT NOW CAN SOMEONE HELP ME THIS QUESTIONS PLEASE T-T T-T T-T
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 22:50
Before you enter an intersection on a green light make sure
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:00
What is a society that has moved to the internet rather than relying on physical media called
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:00
This is not a factor that you should use to determine the content of your presentation. your audience your goals your purpose your technology
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:00
Perform the following tasks: a. create a class named testclass that holds a single private integer field and a public constructor. the only statement in the constructor is one that displays the message βconstructingβ. write a main()function that instantiates one object of the testclass. save the file as testclass.cpp in the chapter 08 folder. run the program and observe the results. b. write another main()function that instantiates an array of 10 testclass objects. save the file as test class array.c . run this program and observe the results.
Answers: 1
You know the right answer?
Question 1:State the values of a, b, c, d and e after the following operations are carried out:
(a...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
History, 19.09.2019 01:50
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
Physics, 19.09.2019 01:50
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 19.09.2019 01:50
![question](/tpl/images/cats/istoriya.png)
History, 19.09.2019 01:50
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 19.09.2019 01:50
![question](/tpl/images/cats/istoriya.png)
History, 19.09.2019 01:50
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 19.09.2019 01:50
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/health.png)
Health, 19.09.2019 01:50
![question](/tpl/images/cats/mat.png)
Mathematics, 19.09.2019 01:50
![question](/tpl/images/cats/istoriya.png)
History, 19.09.2019 01:50