IRC log of #novawebdev for Tuesday, 2023-12-19

*** tboimah has quit (Read error: Connection reset by peer)12:29
*** dcammue has quit (Remote host closed the connection)12:29
*** tboimah has quit (Ping timeout: 480 seconds)13:05
*** tboimah_ has quit (Read error: Connection reset by peer)13:42
*** fkoikoi has quit (Read error: Connection reset by peer)13:53
*** fkoikoi has quit (Ping timeout: 480 seconds)14:13
scooperACTION going to the bathroom will be back in 10 minutes...21:16
scooperACTION back21:23
shmohamudGood day scooper21:27
scooperGood afternoon21:29
scooperSo in order to prepare for the test properly Jeff give me and the team this link21:31
scooperhttps://edube.org/learn/pe-1/your-very-first-program-3621:31
shmohamudI can't access that link21:32
shmohamudI'm unauthorized21:33
shmohamudLet's start with some sample PCEP questions21:33
shmohamudWhat will be the output when the user enters 0?21:34
shmohamuduser_input = input("what is your value?")21:34
shmohamudprint(1/user_input)21:35
shmohamudA. Number 0 shown to the console21:35
shmohamudB. Type error raised21:35
shmohamudC. Zero division error raised21:35
shmohamudD. Value error raised21:35
scooperthe program will raise an error21:36
scooperbecause we didn't cast the program before conversion21:36
shmohamudWhat type of error?  B C or D?21:38
scooperB21:40
scooperDid you login???21:40
shmohamudCorrect21:42
shmohamudGreat job! Yes, I logged in.21:42
shmohamudif 2 == 2.0: 21:44
shmohamudprint("yes"21:44
shmohamudelse:21:44
shmohamudprint("no")21:44
shmohamudWhat will be the output of the code above?21:44
scooperyes21:45
shmohamudCorrect again, nice job.21:46
shmohamudWhat is CPython?21:46
scooperIf my memory set me right21:46
shmohamudA. It's a programming language that's a superset of the C language21:46
scooperCpython21:47
shmohamudB. Designed to produce Python like performance with code written in C21:47
scooperis a branch of that derived from the c programming language21:47
shmohamudC. It's a programming language that's a superset of Python21:48
shmohamudD. Designed to produce C-like performance with code written in Python21:48
shmohamudE. It's a default, referenced implementation of the Python language21:49
scooperE21:49
shmohamudE. It's a default reference implementation of the C language written in Python21:50
shmohamudF. It's a default reference implementation of the Python language written in C21:50
shmohamudI had to correct E. Now, which is correct?21:51
scooperAm I correct???21:51
shmohamudPlease re-read the answer choices and try again, I wrote the wrong thing for the first E21:51
scooperSince Python derived from the c programming language be ()A will be my next alternative...21:53
scooperA21:54
shmohamudNope, Python is not derived from C21:55
shmohamudThey're two different languages21:55
shmohamudYou were close with E originally, do you want the answer?21:58
scooperIf they are two difference which I do know them why they are saying it's reference implementation of the C langauge21:58
scooperIn my understanding I was thinking that python derived from the C++ programming since C is really difficult21:59
shmohamudSorry, you're right, if you meant CPython (not Python) is written in C and Python. 22:00
shmohamudThe correct answer is F. It's a default reference implementation of the Python language written in C22:01
shmohamudQuestion: Strings in Python are delimited with what?22:01
shmohamudA. Backslash (/)22:01
shmohamudB. Single (') or double (") quotes22:01
shmohamudC. Asterisks (*)22:02
scooperdouble quotation or single quotation marks22:02
scooperB22:02
shmohamudD. Dollar sign ($)22:02
shmohamudPerfect, well done.22:02
shmohamudDo you have any questions for me?22:05
scooperyes22:06
scooperAnd this is very crucial or import to every beginner programming22:07
scooperI m trying to wrap my head around Syntax and Semantic in programming22:07
shmohamudGood question!22:09
scooperSyntax is a programming element or that make a program well structure right?? example22:09
scooperCould be in English which talks about Sentence22:09
scooperSo in short syntax and sentence in English perform the same responsible right???22:10
shmohamudSyntax is about whether or not code is valid, it's the structure of the code. Syntax in elements in Python includes indentation22:10
scooperyes22:11
shmohamudSyntax in English language is the same concept. It asks whether or not a sentence is structured properly (Start with capital letter, end with a period, commas in the right places)22:11
shmohamudSemantics is the meaning of the code. So if we increment i++ the semantics is that it's an incrementor22:12
scooperAfter explanation please test me with a code22:12
scooperlet me analyze it to know whether the syntax and the semantic are proper structure22:12
shmohamudif 10 > 0:22:13
scooperin the program22:13
shmohamudprint("Is greater than 0")22:13
shmohamudelse:22:13
shmohamudprint("Is not greater than 0")22:13
shmohamudwhat's the syntax here, and what's the semantics?22:13
scooperperfect question22:13
scooperthe Syntax here is the entire condition statement in the programm22:14
shmohamudcan you be more specific?22:15
scooperok22:15
scooperAccording to you definition of syntax is about whether or not code is valid22:16
scooperso the program you just wrong is a valid syntax22:16
scooperbecause it will execute without error22:16
shmohamudyes it's syntactically valid22:17
scooperthe semantic is tell us that the if is a condition statement that is comparing the 10 to 0 to know22:17
scooperwhether 10 is greater than zero22:17
shmohamudyes22:17
shmohamudgood job22:17
shmohamud2. What is the best definition of a script?22:18
shmohamudA. It's an error message generated by the interpreter22:18
shmohamudB. It's a text file that contains instructions which make up a Python program22:18
shmohamudC. It's an error message generated by the compiler22:18
shmohamudD. It's a text file that contains sequences of zeroes and ones22:18
scooperB22:18
shmohamudcorrect!22:19
shmohamud3. What do you call a file containing a program written in a high-level programming language?22:19
shmohamudA. A target file22:19
shmohamudB. A code file22:19
shmohamudC. A source file22:19
shmohamudD. A machine file22:19
scooperAlmost all the question in are asking me came in the first and second quiz I to last night22:19
scooperC22:20
shmohamudGood, let me find something a bit more challenging22:20
scooperAlmost all the question you are asking me came in the first and second quiz I took last night22:20
shmohamud6. What are the four fundamental elements that make a language?22:21
shmohamudA. An alphabet, phonetics, phonology, and semantics22:21
shmohamudB. An alphabet, a lexis, phonetics, and semantics22:21
scooperfrom the link I sent you22:21
shmohamudC. An alphabet, morphology, phonetics, and semantics22:21
shmohamudD. An alphabet, a lexis, a syntax, and semantics22:21
scooperD22:21
shmohamudCorrect22:22
scooperSahnun I m using that Resource Jeff give us to foster my study for now...22:23
scooperI m changing it still I take my test.... in January or February22:23
scooperI m not22:23
shmohamudAre you taking the PCEP in January?22:24
scooperYes I m22:24
scooperPassing that test determining my team and I faith to was our monthly  stipend  which is very  import to us here...22:25
shmohamudI understand the stakes are high22:26
shmohamudSo, you have we have less than 6 weeks before you take it.22:26
shmohamudWas this session helpful or would it be better for us to use the resource Jeff shared with you?22:27
scooperI done know where your source are from but it's same exactly as what I m reading...22:27
shmohamudlol I see I see22:27
shmohamudSo you have good study materials already it sounds like22:28
shmohamudWas this session helpful or should we just use Jeff's resource tomorrow?22:28
scooperThe  link are give you...22:28
scooperWe can use your session  while I continue reading from the my Edube account that is also tracking my progress22:29
shmohamudOk, so how can I be most helpful to you tomorrow? 22:29
scooperFirstly I know how busy you are22:30
scooperSo is it ok with you meeting monday to friday??22:30
shmohamudYes, that's OK with me22:30
scooperThough I m reading again  from the start 22:31
scooperI will recommend to you that you pickup from where we stop today22:32
scooperby introducing different concept in programming22:32
scooper*python programming22:33
shmohamudUsing what resource?22:33
scooperThe one you are having right now...22:34
scooperit's in line with my study....22:34
shmohamudThe questions I shared today?22:34
scooperyes22:34
shmohamudI ran out of them already22:34
scooperSome concept I understand good are as follows22:34
shmohamudBut I will see if I can purchase some PCEP practice tests for you. How does that sound?22:35
scooperwow sound good 22:35
scooperAre will even like to share it with my test too22:35
scooperI will22:35
shmohamudYou would like to share what with your test?22:36
scooperThe PCEP practice questions22:36
scooperyou are talking about...it will help them too because it's all  about us as a team..22:37
shmohamudAh, I understand now. Yes, please do share the questions with the team. I will look for some good questions and share them with you all.22:37
scooperOK, tomorrow right same22:38
scoopertime 8:30pm my time right???22:38
shmohamudYes22:39
scooperAre we done for today???22:39
shmohamudGreat job today, see you tomorrow. Have a great evening.22:39
scooperOK I m about to sleep now 22:39
shmohamudsounds good :022:39
shmohamud:) *22:39
scooperit's 10:40pm in liberia22:39
scooperACTION leaving after having a wonderful section with Sahnun22:39
*** scooper has quit (Quit: Leaving)22:40

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!