*** 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 | |
scooper | ACTION going to the bathroom will be back in 10 minutes... | 21:16 |
---|---|---|
scooper | ACTION back | 21:23 |
shmohamud | Good day scooper | 21:27 |
scooper | Good afternoon | 21:29 |
scooper | So in order to prepare for the test properly Jeff give me and the team this link | 21:31 |
scooper | https://edube.org/learn/pe-1/your-very-first-program-36 | 21:31 |
shmohamud | I can't access that link | 21:32 |
shmohamud | I'm unauthorized | 21:33 |
shmohamud | Let's start with some sample PCEP questions | 21:33 |
shmohamud | What will be the output when the user enters 0? | 21:34 |
shmohamud | user_input = input("what is your value?") | 21:34 |
shmohamud | print(1/user_input) | 21:35 |
shmohamud | A. Number 0 shown to the console | 21:35 |
shmohamud | B. Type error raised | 21:35 |
shmohamud | C. Zero division error raised | 21:35 |
shmohamud | D. Value error raised | 21:35 |
scooper | the program will raise an error | 21:36 |
scooper | because we didn't cast the program before conversion | 21:36 |
shmohamud | What type of error? B C or D? | 21:38 |
scooper | B | 21:40 |
scooper | Did you login??? | 21:40 |
shmohamud | Correct | 21:42 |
shmohamud | Great job! Yes, I logged in. | 21:42 |
shmohamud | if 2 == 2.0: | 21:44 |
shmohamud | print("yes" | 21:44 |
shmohamud | else: | 21:44 |
shmohamud | print("no") | 21:44 |
shmohamud | What will be the output of the code above? | 21:44 |
scooper | yes | 21:45 |
shmohamud | Correct again, nice job. | 21:46 |
shmohamud | What is CPython? | 21:46 |
scooper | If my memory set me right | 21:46 |
shmohamud | A. It's a programming language that's a superset of the C language | 21:46 |
scooper | Cpython | 21:47 |
shmohamud | B. Designed to produce Python like performance with code written in C | 21:47 |
scooper | is a branch of that derived from the c programming language | 21:47 |
shmohamud | C. It's a programming language that's a superset of Python | 21:48 |
shmohamud | D. Designed to produce C-like performance with code written in Python | 21:48 |
shmohamud | E. It's a default, referenced implementation of the Python language | 21:49 |
scooper | E | 21:49 |
shmohamud | E. It's a default reference implementation of the C language written in Python | 21:50 |
shmohamud | F. It's a default reference implementation of the Python language written in C | 21:50 |
shmohamud | I had to correct E. Now, which is correct? | 21:51 |
scooper | Am I correct??? | 21:51 |
shmohamud | Please re-read the answer choices and try again, I wrote the wrong thing for the first E | 21:51 |
scooper | Since Python derived from the c programming language be ()A will be my next alternative... | 21:53 |
scooper | A | 21:54 |
shmohamud | Nope, Python is not derived from C | 21:55 |
shmohamud | They're two different languages | 21:55 |
shmohamud | You were close with E originally, do you want the answer? | 21:58 |
scooper | If they are two difference which I do know them why they are saying it's reference implementation of the C langauge | 21:58 |
scooper | In my understanding I was thinking that python derived from the C++ programming since C is really difficult | 21:59 |
shmohamud | Sorry, you're right, if you meant CPython (not Python) is written in C and Python. | 22:00 |
shmohamud | The correct answer is F. It's a default reference implementation of the Python language written in C | 22:01 |
shmohamud | Question: Strings in Python are delimited with what? | 22:01 |
shmohamud | A. Backslash (/) | 22:01 |
shmohamud | B. Single (') or double (") quotes | 22:01 |
shmohamud | C. Asterisks (*) | 22:02 |
scooper | double quotation or single quotation marks | 22:02 |
scooper | B | 22:02 |
shmohamud | D. Dollar sign ($) | 22:02 |
shmohamud | Perfect, well done. | 22:02 |
shmohamud | Do you have any questions for me? | 22:05 |
scooper | yes | 22:06 |
scooper | And this is very crucial or import to every beginner programming | 22:07 |
scooper | I m trying to wrap my head around Syntax and Semantic in programming | 22:07 |
shmohamud | Good question! | 22:09 |
scooper | Syntax is a programming element or that make a program well structure right?? example | 22:09 |
scooper | Could be in English which talks about Sentence | 22:09 |
scooper | So in short syntax and sentence in English perform the same responsible right??? | 22:10 |
shmohamud | Syntax is about whether or not code is valid, it's the structure of the code. Syntax in elements in Python includes indentation | 22:10 |
scooper | yes | 22:11 |
shmohamud | Syntax 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 |
shmohamud | Semantics is the meaning of the code. So if we increment i++ the semantics is that it's an incrementor | 22:12 |
scooper | After explanation please test me with a code | 22:12 |
scooper | let me analyze it to know whether the syntax and the semantic are proper structure | 22:12 |
shmohamud | if 10 > 0: | 22:13 |
scooper | in the program | 22:13 |
shmohamud | print("Is greater than 0") | 22:13 |
shmohamud | else: | 22:13 |
shmohamud | print("Is not greater than 0") | 22:13 |
shmohamud | what's the syntax here, and what's the semantics? | 22:13 |
scooper | perfect question | 22:13 |
scooper | the Syntax here is the entire condition statement in the programm | 22:14 |
shmohamud | can you be more specific? | 22:15 |
scooper | ok | 22:15 |
scooper | According to you definition of syntax is about whether or not code is valid | 22:16 |
scooper | so the program you just wrong is a valid syntax | 22:16 |
scooper | because it will execute without error | 22:16 |
shmohamud | yes it's syntactically valid | 22:17 |
scooper | the semantic is tell us that the if is a condition statement that is comparing the 10 to 0 to know | 22:17 |
scooper | whether 10 is greater than zero | 22:17 |
shmohamud | yes | 22:17 |
shmohamud | good job | 22:17 |
shmohamud | 2. What is the best definition of a script? | 22:18 |
shmohamud | A. It's an error message generated by the interpreter | 22:18 |
shmohamud | B. It's a text file that contains instructions which make up a Python program | 22:18 |
shmohamud | C. It's an error message generated by the compiler | 22:18 |
shmohamud | D. It's a text file that contains sequences of zeroes and ones | 22:18 |
scooper | B | 22:18 |
shmohamud | correct! | 22:19 |
shmohamud | 3. What do you call a file containing a program written in a high-level programming language? | 22:19 |
shmohamud | A. A target file | 22:19 |
shmohamud | B. A code file | 22:19 |
shmohamud | C. A source file | 22:19 |
shmohamud | D. A machine file | 22:19 |
scooper | Almost all the question in are asking me came in the first and second quiz I to last night | 22:19 |
scooper | C | 22:20 |
shmohamud | Good, let me find something a bit more challenging | 22:20 |
scooper | Almost all the question you are asking me came in the first and second quiz I took last night | 22:20 |
shmohamud | 6. What are the four fundamental elements that make a language? | 22:21 |
shmohamud | A. An alphabet, phonetics, phonology, and semantics | 22:21 |
shmohamud | B. An alphabet, a lexis, phonetics, and semantics | 22:21 |
scooper | from the link I sent you | 22:21 |
shmohamud | C. An alphabet, morphology, phonetics, and semantics | 22:21 |
shmohamud | D. An alphabet, a lexis, a syntax, and semantics | 22:21 |
scooper | D | 22:21 |
shmohamud | Correct | 22:22 |
scooper | Sahnun I m using that Resource Jeff give us to foster my study for now... | 22:23 |
scooper | I m changing it still I take my test.... in January or February | 22:23 |
scooper | I m not | 22:23 |
shmohamud | Are you taking the PCEP in January? | 22:24 |
scooper | Yes I m | 22:24 |
scooper | Passing that test determining my team and I faith to was our monthly stipend which is very import to us here... | 22:25 |
shmohamud | I understand the stakes are high | 22:26 |
shmohamud | So, you have we have less than 6 weeks before you take it. | 22:26 |
shmohamud | Was this session helpful or would it be better for us to use the resource Jeff shared with you? | 22:27 |
scooper | I done know where your source are from but it's same exactly as what I m reading... | 22:27 |
shmohamud | lol I see I see | 22:27 |
shmohamud | So you have good study materials already it sounds like | 22:28 |
shmohamud | Was this session helpful or should we just use Jeff's resource tomorrow? | 22:28 |
scooper | The link are give you... | 22:28 |
scooper | We can use your session while I continue reading from the my Edube account that is also tracking my progress | 22:29 |
shmohamud | Ok, so how can I be most helpful to you tomorrow? | 22:29 |
scooper | Firstly I know how busy you are | 22:30 |
scooper | So is it ok with you meeting monday to friday?? | 22:30 |
shmohamud | Yes, that's OK with me | 22:30 |
scooper | Though I m reading again from the start | 22:31 |
scooper | I will recommend to you that you pickup from where we stop today | 22:32 |
scooper | by introducing different concept in programming | 22:32 |
scooper | *python programming | 22:33 |
shmohamud | Using what resource? | 22:33 |
scooper | The one you are having right now... | 22:34 |
scooper | it's in line with my study.... | 22:34 |
shmohamud | The questions I shared today? | 22:34 |
scooper | yes | 22:34 |
shmohamud | I ran out of them already | 22:34 |
scooper | Some concept I understand good are as follows | 22:34 |
shmohamud | But I will see if I can purchase some PCEP practice tests for you. How does that sound? | 22:35 |
scooper | wow sound good | 22:35 |
scooper | Are will even like to share it with my test too | 22:35 |
scooper | I will | 22:35 |
shmohamud | You would like to share what with your test? | 22:36 |
scooper | The PCEP practice questions | 22:36 |
scooper | you are talking about...it will help them too because it's all about us as a team.. | 22:37 |
shmohamud | Ah, 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 |
scooper | OK, tomorrow right same | 22:38 |
scooper | time 8:30pm my time right??? | 22:38 |
shmohamud | Yes | 22:39 |
scooper | Are we done for today??? | 22:39 |
shmohamud | Great job today, see you tomorrow. Have a great evening. | 22:39 |
scooper | OK I m about to sleep now | 22:39 |
shmohamud | sounds good :0 | 22:39 |
shmohamud | :) * | 22:39 |
scooper | it's 10:40pm in liberia | 22:39 |
scooper | ACTION leaving after having a wonderful section with Sahnun | 22: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/!