Question 1
errors can be syntax errors or logic errors (the code works, but not as intended).<...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 30.10.2019 14:31 desiwill01
Question 1
errors can be syntax errors or logic errors (the code works, but not as intended).
which of the following statements contains an error?
string lotteryfrontpair = lotterynum. substring(0, 1);
string lotterybackpair = lotterynum. substring(2);
string userbackpair = userpick. substring(1, 2);
a) i only
b) ii only
c) iii only
d) i and ii only
e) i, ii, and iii
question 2
errors can be syntax errors or logic errors (the code works, but not as intended).
which of the following statements contains an error?
for(int n = 1; n < = lotnumlength; n++)
for(int n = 0; n < = lotnumlength; n++)
for(int n = 0; n < lotnumlength; n++)
a) i only
b) ii only
c) iii only
d) i and ii only
e) i and iii only
question 3
errors can be syntax errors or logic errors (the code works, but not as intended).
which of the following statements contains an error?
else if( userbackpair. equals(lotterybackpair) )
else if( ! userfrontpair. equals(lotteryfrontpair) )
else if( userpick == lotterynum )
a) i only
b) ii only
c) iii only
d) i and ii only
e) ii and iii only
question 4
errors can be syntax errors or logic errors (the code works, but not as intended).
which of the following statements contains an error?
int digit = (int) (math. random() * 9);
lotterynum += digit;
//system. out. println(lotterynum);
a) i only
b) ii only
c) iii only
d) i and iii only
e) ii and iii only
question 5
errors can be syntax errors or logic errors (the code works, but not as intended).
which of the following statements contains an error?
if(userpick. equals(lotterynum))
if(userfrontpair. equals(lotteryfrontpair))
if(userbackpair. compareto(lotterybackpair) < 0)
a) i only
b) ii only
c) iii only
d) i and ii only
e) ii and iii only
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/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, 24.06.2019 00:50
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:00
Ais a built in formula in spread spread a is any math process such as addition or subtraction. options are function and operation
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 18:10
Most information security incidents will occur because of select one: a. users who do not follow secure computing practices and procedures b. increases in hacker skills and capabilities c. poorly designed network protection software d. increasing sophistication of computer viruses and worms
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 01:00
What phrase indicates someone has knowledge and understanding of computer,internet,mobile devices and related technologies?
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 12.01.2021 06:00
![question](/tpl/images/cats/istoriya.png)
History, 12.01.2021 06:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 12.01.2021 06:00
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 12.01.2021 06:00
![question](/tpl/images/cats/istoriya.png)
History, 12.01.2021 06:00
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/istoriya.png)
History, 12.01.2021 06:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 12.01.2021 06:00
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
English, 12.01.2021 06:00