create account

My Coding Quiz #1 by eniolw

View this thread on: hive.blogpeakd.comecency.com
· @eniolw ·
$10.21
My Coding Quiz #1
<div class="text-justify">

<center><h2>My Coding Quiz #1 馃懆鈥嶐煉火煕狅笍馃З</h2></center>

<br>Welcome to my new series of <b>Coding Quizzes</b>, in which you will be able to test your knowledge and skills about programming and software development in a simple and fun way. You will see how much you know about programming languages and how much code you can read, debug, mentally simulate, etc.

I have designed these quizzes in my capacity as a computer science professor and programmer. I will try to cover many types of programming languages, but I will give special attention to Python and Javascript as they are the most popular and my favorites. I will also post the solution to this quiz in the next installment of the series to avoid spoilers :) Feel free to share your answer in the comments section!

<br><center><img src="https://images.hive.blog/DQmT9BeeJovK3hxHbTFpneA2HtGHXLC1ZCbzLYW6yHVwzba/image.png" alt="Quiz"></center>

<br><center><h3>What's your choice?</h3></center>

<p>If you want to blog about computer science and programming content, I invite you to join <a href='/'>Hive</a> and participate in its communities, such as <a href='/created/hive-196387'>STEM-social</a>, <a href='/created/hive-196387'>Develop Spanish</a> y otras.</p>

<hr>

<center><h2>Mi Quiz de Programaci贸n #1 馃懆鈥嶐煉火煕狅笍馃З</h2></center>

<br>Bienvenido a mi nueva serie de <b>Quizzes de Programaci贸n</b>, en la cual podr谩s poner a prueba tus conocimientos y habilidades sobre programaci贸n y desarrollo de software de una manera sencilla y divertida. Con ella ver谩s qu茅 tanto conoces los lenguajes de programaci贸n y cu谩nto c贸digo puedes leer, depurar, simular mentalmente, etc.

He dise帽ado estos quizzes en mi calidad de profesor de ciencias de la computaci贸n y programador. Tratar茅 de cubrir muchos tipos de lenguajes de programaci贸n, pero dar茅 especial atenci贸n a Python y Javascript por ser los m谩s populares y mis favoritos. Tambi茅n publicar茅 la soluci贸n a este quiz en la pr贸xima entrega de la serie, para as铆 evitar los spoilers :) 隆Sientete con la libertad de compartir tu respuesta en la secci贸n de comentarios!

<br><center><img src="https://images.hive.blog/DQmeTAuD8jmuVmPRSFXbXUUrJByqCmPfDXgNR22sJMQ7qWU/image.png" alt="Quiz"></center>

<br><center><h3>驴Cu谩l es tu elecci贸n?</h3></center>

<p>Si quieres bloguear sobre contenido inform谩tico y de programaci贸n, te invito a unirte a <a href='/'>Hive</a> y participar en sus comunidades, tales como <a href='/created/hive-196387'>STEM-social</a>, <a href='/created/hive-196387'>Develop Spanish</a> y otras.</p>

</div>
馃憤  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 627 others
properties (23)
authoreniolw
permlinkmy-coding-quiz-1
categoryhive-196387
json_metadata"{"image":["https://images.hive.blog/DQmT9BeeJovK3hxHbTFpneA2HtGHXLC1ZCbzLYW6yHVwzba/image.png","https://images.hive.blog/DQmeTAuD8jmuVmPRSFXbXUUrJByqCmPfDXgNR22sJMQ7qWU/image.png"],"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"description":"Welcome to my new series of Coding Quizzes, in which you will be able to test your knowledge and skills about programming and software development in a simple and fun way.","app":"ecency/3.0.32-vision","format":"markdown+html","image_ratios":["0.8571","0.8571"]}"
created2023-06-16 02:33:06
last_update2023-06-16 02:33:06
depth0
children12
last_payout2023-06-23 02:33:06
cashout_time1969-12-31 23:59:59
total_payout_value5.156 HBD
curator_payout_value5.051 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,557
author_reputation255,547,531,558,871
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,493,913
net_rshares24,645,475,566,183
author_curate_reward""
vote details (691)
@bluerobo ·
properties (23)
authorbluerobo
permlinkre-eniolw-rwdctc
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"peakd/2023.6.5"}
created2023-06-16 23:20:00
last_update2023-06-16 23:20:00
depth1
children1
last_payout2023-06-23 23:20:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1
author_reputation101,709,195,768,843
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,517,801
net_rshares41,240,627,218
author_curate_reward""
vote details (4)
@eniolw ·
That's correct!
properties (22)
authoreniolw
permlinkre-bluerobo-2023616t214416655z
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"ecency/3.0.32-vision","format":"markdown+html"}
created2023-06-17 01:44:18
last_update2023-06-17 01:44:18
depth2
children0
last_payout2023-06-24 01:44:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length15
author_reputation255,547,531,558,871
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,521,966
net_rshares0
@capybaraexchange ·
<div class"text-justify">

>Tu publicacion ha sido votada por el Trail de CAPYBARAEXCHANGE por contenido excepcional y formar parte de nuestra comunidad de usuarios activos.

>***Unete a [nuestro canal de discord](https://discord.gg/zFPWeVK) en d贸nde podr谩s conocer mas acerca de nuestras operaciones y servicios. registrate ingresando en [capybaraexchange](https://capybaraexchange.com/register) para disfrutar del servicio***

**Si quieres formar parte de nuestro trail de curaci贸n, ingresa a HIVEVOTE, haciendo clic en la imagen del capybara aristocratico. Capybaraexchange tu casa de cambio, rapida, confiable y segura**
</div>

<center>
[![](https://images.hive.blog/DQmNQtfGCyD3ckrA4R8KR4VueTp8q6pc9vbhCXFxJH5HpEW/SAVE_20230427_021130.jpg)](https://hive.vote/dash.php?i=1&trail=takeru255)
</center>
properties (22)
authorcapybaraexchange
permlinkre-eniolw-rwc09z
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"peakd/2023.6.5"}
created2023-06-16 05:51:36
last_update2023-06-16 05:51:36
depth1
children1
last_payout2023-06-23 05:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length804
author_reputation7,693,189,992,752
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,497,704
net_rshares0
@eniolw ·
Gracias
properties (22)
authoreniolw
permlinkre-capybaraexchange-2023616t122618127z
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"ecency/3.0.32-vision","format":"markdown+html"}
created2023-06-16 16:26:18
last_update2023-06-16 16:26:18
depth2
children0
last_payout2023-06-23 16:26:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation255,547,531,558,871
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,508,966
net_rshares0
@edb ·
$0.03
Well, whether the answer is 4 or 0 depends on what the default behavior of round() is. Apparently, since the answer is 4, it rounds down, so we get the exponent 5^1 rather than 6^0.
馃憤  , ,
properties (23)
authoredb
permlinkre-eniolw-2023617t104823611z
categoryhive-196387
json_metadata{"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"app":"ecency/3.0.40-mobile","format":"markdown+html"}
created2023-06-17 08:48:24
last_update2023-06-17 08:48:24
depth1
children1
last_payout2023-06-24 08:48:24
cashout_time1969-12-31 23:59:59
total_payout_value0.016 HBD
curator_payout_value0.016 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length181
author_reputation35,706,799,707,635
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,530,203
net_rshares77,034,499,381
author_curate_reward""
vote details (3)
@eniolw ·
Well, I'm going to post the explanation in the next installment very soon!
properties (22)
authoreniolw
permlinkre-edb-2023618t233357624z
categoryhive-196387
json_metadata{"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"app":"ecency/3.0.32-vision","format":"markdown+html"}
created2023-06-19 03:33:57
last_update2023-06-19 03:33:57
depth2
children0
last_payout2023-06-26 03:33:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length74
author_reputation255,547,531,558,871
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,577,542
net_rshares0
@gwajnberg · (edited)
4 :) the last is 5^ 1 = 5 -1 = 4
馃憤  ,
properties (23)
authorgwajnberg
permlinkre-eniolw-2023615t2116168z
categoryhive-196387
json_metadata{"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"app":"ecency/3.0.40-mobile","format":"markdown+html"}
created2023-06-16 03:16:00
last_update2023-06-16 03:16:57
depth1
children1
last_payout2023-06-23 03:16:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length32
author_reputation372,952,279,928,191
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,494,737
net_rshares110,355,431
author_curate_reward""
vote details (2)
@eniolw ·
That's right!
properties (22)
authoreniolw
permlinkre-gwajnberg-2023616t122544591z
categoryhive-196387
json_metadata{"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"app":"ecency/3.0.32-vision","format":"markdown+html"}
created2023-06-16 16:25:45
last_update2023-06-16 16:25:45
depth2
children0
last_payout2023-06-23 16:25:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length13
author_reputation255,547,531,558,871
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,508,953
net_rshares0
@stemsocial ·
re-eniolw-my-coding-quiz-1-20230616t225854088z
<div class='text-justify'> <div class='pull-left'>
 <img src='https://stem.openhive.network/images/stemsocialsupport7.png'> </div>

Thanks for your contribution to the <a href='/trending/hive-196387'>STEMsocial community</a>. Feel free to join us on <a href='https://discord.gg/9c7pKVD'>discord</a> to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support.&nbsp;<br />&nbsp;<br />
</div>
properties (22)
authorstemsocial
permlinkre-eniolw-my-coding-quiz-1-20230616t225854088z
categoryhive-196387
json_metadata{"app":"STEMsocial"}
created2023-06-16 22:58:54
last_update2023-06-16 22:58:54
depth1
children0
last_payout2023-06-23 22:58:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length565
author_reputation22,919,337,499,097
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,517,440
net_rshares0
@visualblock ·
<center>

![](https://images.ecency.com/DQmNMiwDYkQV429ZUQdpCVKskB7h1s8m5ueAwxcJG6bMZTs/imagen.png)


<sup>
Has sido curado por @visualblock / You've been curated by @visualblock 
Bienvenidas delegaciones / Delegations welcome
 [Encuentra nuestra comunidad aqu铆 / Find our community here](https://discord.gg/tGuctbfYKN) 
[Trail de Curaci贸n / Curation Trail](https://hive.vote/dash.php?trail=visualblock&i=1)
</sup>

</center>
properties (22)
authorvisualblock
permlinkre-eniolw-2023615t23575087z
categoryhive-196387
json_metadata{"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"app":"ecency/3.0.32-vision","format":"markdown+html"}
created2023-06-16 04:57:51
last_update2023-06-16 04:57:51
depth1
children2
last_payout2023-06-23 04:57:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length425
author_reputation152,604,757,461,690
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,496,598
net_rshares0
@eniolw ·
Gracias
properties (22)
authoreniolw
permlinkre-visualblock-2023616t12261399z
categoryhive-196387
json_metadata{"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"app":"ecency/3.0.32-vision","format":"markdown+html"}
created2023-06-16 16:26:03
last_update2023-06-16 16:26:03
depth2
children1
last_payout2023-06-23 16:26:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation255,547,531,558,871
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,508,959
net_rshares0
@visualblock ·
Es un gusto para nosotros. 馃
properties (22)
authorvisualblock
permlinkre-eniolw-2023617t153132495z
categoryhive-196387
json_metadata{"tags":["hive-196387","programming","coding","software","python","technology","neoxian","proofofbrain","stem","creativecoin"],"app":"ecency/3.0.32-vision","format":"markdown+html"}
created2023-06-17 13:31:33
last_update2023-06-17 13:31:33
depth3
children0
last_payout2023-06-24 13:31:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation152,604,757,461,690
root_title"My Coding Quiz #1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id124,534,745
net_rshares0