Erb Computer Science
Erb Computer Science
  • 186
  • 243 897
Computer Science 9618 - Code a Binary Tree Using OOP
In this video we take a look at how to code a Binary Tree using Object-Oriented Programming which could definitely (and has) shown up on Paper 4. I go over a binary tree and then show you how to code out each part including adding a node, printing the entire tree with pointers and then a recursive procedure that outputs the data in ascending order!
If you find this video helpful, please take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos are on the way!
Переглядів: 91

Відео

VB.NET For Beginners - Simon Game
Переглядів 2614 днів тому
In this video we take a look at how to make a Simon Game which is perfect for beginners or for anyone who wants to sharpen their coding skills. Maybe you want to learn how timers and work and how to use them - we got you covered! If you find this video helpful please take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more video are on the way!
Computer Science 9618: Linear and Binary Search - VB.NET
Переглядів 123Місяць тому
In this video we take a look at both a Linear Search and a Binary Search. Learn how each works and more importantly learn how to code them out in VB.NET. If you find this video helpful please take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos are on the way!
VB.NET - Magic 8 Ball Tutorial (4K)
Переглядів 122Місяць тому
In this video we take a look at how to make a Magic 8 Ball! This video covers how to generate random numbers to simulate the random output of the Magic 8 Ball and tie it to an output! Great video for beginners and a fun project for those who are experienced! If you find this video helpful, please take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos...
Computer Science 9618 VB NET Text to Speech
Переглядів 942 місяці тому
In this program we take a look at the difference between static libraries and dynamic libraries. We go one step further and write a program in VB.NET implementing a speech-to-text library to understand the benefits of using libraries in our coding. If you find this video helpful please take a moment to give it a thumbs up and subscribe to help the channel grow! As always, more videos are on the...
Computer Science 9618 Review, Tips and Tricks Paper 4 Part 2
Переглядів 3332 місяці тому
In this video we take a look at a few more tips, tricks and suggestions for Paper 4 which is just in a few days (At time of this recording). Part 1 Can Be Found Here: ua-cam.com/video/ET-bip5j3mU/v-deo.html More Practice With Convert.ToInt32? Can be found here: ua-cam.com/video/OmCiLN56M0A/v-deo.html If you find this video helpful please take a moment to give it a thumbs up and subscribe to hel...
Computer Science 9618 How Recursion Works
Переглядів 2672 місяці тому
In this video we take a look at what recursion is, how it works and apply it to past exam questions. Here is a link to the recursive binary search video if you need it: ua-cam.com/video/g_vrbop4_t4/v-deo.html If you find this video helpful please take a moment to give it thumbs up and subscribe to help the channel grow. As always, more videos are on the way!
Computer Science 9618 Full Paper 4 Walkthrough May/June 2022 (P41)
Переглядів 6382 місяці тому
In this video we complete a full walkthrough of another Paper 4 exam. You can never be too prepared or do to many of these. Being overprepared is being prepared. This video covers file handling (reading and writing), OOP and the ADT - Circular queue. Complete this walkthrough with me as I go through so you can get ready for the Paper 4 exam! If you find this video helpful please take a moment t...
Computer Science 9618 Paper 4 OOP - Inheritance and Text Files
Переглядів 3783 місяці тому
In this video we take a look at an advanced OOP question that came from a past Paper 4 exam. I walk you through it with code and explanations so you can be prepared and conquer that section on your Paper 4 exam. I hope you find something useful in this video and maybe something you didn't know before. If you find this video helpful please take a moment to give it a thumbs up and subscribe to he...
Computer Science 9618 Full Paper 4 Variant 2 Walkthrough Oct/Nov 2022
Переглядів 4643 місяці тому
In this video another full Paper 4 walkthrough is completed. This includes a 2D array, OOP with a text file and a queue. If you find this video helpful please take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos are on the way!
Computer Science 9618 Paper 4 Circular Queue and Evidence Document
Переглядів 4963 місяці тому
Not sure how a circular queue is different from a regular queue? Not sure exactly how to use the evidence document for Paper 4? Watch this video as these 2 topics are covered. If you find this video helpful please take just a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos are on the way. Are you looking for more Paper 4 content? Check out the playli...
Computer Science 9618 Full Paper 3 Walkthrough Oct/Nov 2023 Variant 2
Переглядів 2433 місяці тому
In this video we do another full Paper 3 walkthrough getting you ready and prepared to crush the Computer Science 9618 Paper 3 exam! If you find this video helpful please take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos are on the way!
Computer Science 9618 Programming a Dictionary
Переглядів 3213 місяці тому
In this video we take a look at how dictionaries work and more importantly we program one to see it in action! As a bonus we also go through how to incorporate objects into a dictionary and use object oriented programming! If you find this video helpful please take a moment to help me out and take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos are...
Computer Science 9618 Containment and Aggregation
Переглядів 3413 місяці тому
In this video we go over 2 topics that are involved with Object Oriented Programming- Containment and Aggregation! This was requested by a viewer and with the exam on the horizon I wanted to get it out quickly. In this video we gave over both of these terms and then use code to see it in action! If you find this video helpful please take a moment to give it a thumbs up and subscribe to help the...
Computer Science 9618 Review, Tips and Tricks Paper 4
Переглядів 5613 місяці тому
In this video we gave over some common code that you will need to utilize for the Paper 4 questions. If you find this video helpful please take a moment to give it a thumbs up and subscribe to help the channel grow. As always, more videos are on the way. If you have a question please feel free to post below. If you are looking for Paper 4 review videos I have compiled a playlist which can be fo...
Computer Science 9618 Lexical Analysis Paper 3 Question
Переглядів 974 місяці тому
Computer Science 9618 Lexical Analysis Paper 3 Question
Computer Science 9618 Paper 4 May/June 2024 (Variant 2) Full Walkthrough
Переглядів 1,2 тис.4 місяці тому
Computer Science 9618 Paper 4 May/June 2024 (Variant 2) Full Walkthrough
Computer Science 9618 Paper 4 2024 Full Walkthrough
Переглядів 2,1 тис.4 місяці тому
Computer Science 9618 Paper 4 2024 Full Walkthrough
C# For Beginners - Update Snake With Main Menu and High Score
Переглядів 1115 місяців тому
C# For Beginners - Update Snake With Main Menu and High Score
How to Delete or Remove Lines From a Text File
Переглядів 3375 місяців тому
How to Delete or Remove Lines From a Text File
Computer Science 9618 Paper 4 Question - OOP Inheritance and Polymorphism
Переглядів 3075 місяців тому
Computer Science 9618 Paper 4 Question - OOP Inheritance and Polymorphism
Computer Science 9618 Paper 4 Stacks With a File
Переглядів 2055 місяців тому
Computer Science 9618 Paper 4 Stacks With a File
C# For Beginners Programming Wordle
Переглядів 4106 місяців тому
C# For Beginners Programming Wordle
Getting Started With Object Oriented Programming
Переглядів 1916 місяців тому
Getting Started With Object Oriented Programming
C# For Beginners - Classic Snake Game
Переглядів 3336 місяців тому
C# For Beginners - Classic Snake Game
C# For Beginners Hangman With Dynamic Programming
Переглядів 1506 місяців тому
C# For Beginners Hangman With Dynamic Programming
C# For Beginners - Tic Tac Toe
Переглядів 1937 місяців тому
C# For Beginners - Tic Tac Toe
C# For Beginners - Temperature Converter
Переглядів 1617 місяців тому
C# For Beginners - Temperature Converter
Computer Science 9618 Paper 2 Medley Review
Переглядів 1,1 тис.7 місяців тому
Computer Science 9618 Paper 2 Medley Review
Computer Science 9618 P3 Main Memory Past Exam Questions
Переглядів 1828 місяців тому
Computer Science 9618 P3 Main Memory Past Exam Questions

КОМЕНТАРІ

  • @Joey-b6k
    @Joey-b6k 2 дні тому

    Thanks for doing this!

  • @ethanleong6006
    @ethanleong6006 2 дні тому

    Hey Erb i just got my results for A2 and i managed to get an A*. I just wanna say that this was only possible thanks to your paper 4 walkthroughs. Thanks for making these videos and i wish you all the best. ❤❤

    • @erbcomputerscience
      @erbcomputerscience 2 дні тому

      Congratulations!!! That's awesome!!! You definitely showed that test who was boss with that A*!!!!! Make sure you take time to go celebrate because you deserve it! I am very proud of you!

  • @jsjseven
    @jsjseven 7 днів тому

    Aff was hoping for another c# tutorial :( Nice video anyways :)

  • @terimxv
    @terimxv 25 днів тому

    dont we need to make a file in note pad first and then use it in code?

    • @erbcomputerscience
      @erbcomputerscience 25 днів тому

      Great question! You don't need to make a file as they are provided to you in the exam. You will need to make sure you have those files and your electronic paper 4 answer key because that is where you paste your code and screenshots of your program. If you are practicing then you can download the resource files for the exam variant and year or create your own. Let me know if I can help with anything and I will right after the new year. I got a wicked infection right now.

  • @mahnoorrafiq6803
    @mahnoorrafiq6803 25 днів тому

    sir you're a legend!!

  • @mahnoorrafiq6803
    @mahnoorrafiq6803 26 днів тому

    sir you're a life saver omg!!

  • @studyquranhadith1126
    @studyquranhadith1126 27 днів тому

    I am a dedicated follower of your channel and deeply appreciate the valuable educational content you provide. Your past paper walkthroughs have been instrumental in improving my understanding of key concepts and preparing for exams. As recent past papers have become available, I wanted to kindly request if you could consider creating videos covering these new papers. Having your expert insights on the latest questions would be incredibly helpful, especially as these papers reflect current exam trends and expectations. Your clear explanations and strategic problem-solving approaches make your videos a standout resource for students like me. I’m confident that many others would also greatly benefit from this content. Thank you for your continuous efforts to support students in their academic journeys. I wish you all the best and a wonderful New Year ahead!

  • @nh2848
    @nh2848 28 днів тому

    SO HELPFUL THANK YOU SO MUCH!!!

  • @aasho2361
    @aasho2361 Місяць тому

    Allah apko lambi aur kushio wali zindagi day

  • @NickSchulze-r5d
    @NickSchulze-r5d Місяць тому

    Hello, i am studying the sheet but i cant find The Content of the Files (Easy.txt, Medium.txt, and Hard.txt): were can i get this from?

    • @erbcomputerscience
      @erbcomputerscience Місяць тому

      The website you got the exam from should have it. Look for the resource files for paper 4. Paper 4 files include the: test, mark scheme and for 9618 resource files which are the .txt files.

  • @KarenRoberts-e5b
    @KarenRoberts-e5b Місяць тому

    Great analysis, thank you! I need some advice: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?

  • @ansimran7114
    @ansimran7114 Місяць тому

    Thankyou very much!

  • @ShaunBillones
    @ShaunBillones Місяць тому

    Thanks a lot for this very easy to follow and easy to remember steps

  • @technofeeliak
    @technofeeliak Місяць тому

    What are you screaming?!!!

  • @anantpathak8505
    @anantpathak8505 2 місяці тому

    A' * (B' * (C' + D) + D' * (B XOR C)) 21:36 will this also be acceptable as an answer?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Good afternoon. Unfortunately, that would not be accepted as a simplified expression. There is no XOR gate in this expression so we do not want to add gates that do not exist in the given expression. Can you tell me how you arrived at your answer please so I can clarify further?

  • @nh2848
    @nh2848 2 місяці тому

    this was really helpful but the thing that i loved the most about it was the harry potter references used lol. i LOVE how the dog’s are named albus, tonks and luna 😭

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Yeah my wife and I are huge Harry Potter fans!

    • @nh2848
      @nh2848 2 місяці тому

      @@erbcomputerscience AWW THAT’S SO COOL IM A BIG POTTERHEAD TOO LOL :D

  • @EydenMercado
    @EydenMercado 2 місяці тому

    Hi Mr. Erb

  • @Peakcellfr
    @Peakcellfr 2 місяці тому

    Sir I would just like to say that you are such a lifesaver THANK YOU for all of your videos and explanations, I might not have aced the exam like I had hoped for but your videos still helped immensely I don't know how to thank you enough!!

  • @PremiumEnglishPi
    @PremiumEnglishPi 2 місяці тому

    how would i do this with letter if for example i wanted to create a hangman game?

  • @argon_the_hunter1655
    @argon_the_hunter1655 2 місяці тому

    Tomorrow's the paper

  • @m1lnhaj
    @m1lnhaj 2 місяці тому

    Sir we were asked to declare a global array without any specific length in Question1, so in these types of questions should we look at the textfile and then declare the size?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      You can and can also make the size of the array larger than you need - but only do this if they don't give you the bounds. If they give you the bounds use larger than you may need and that would be fine. For example in question 1 I could have created an array of 100 indices with 3 unused. More often than not they will give you the size.

  • @brandon_wil9759
    @brandon_wil9759 2 місяці тому

    wish i found ur channel earlier:(

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Do you have any specific questions I may be able to answer?

  • @tawadata
    @tawadata 2 місяці тому

    Why is it that when you declare your array you used 10 not 9....while in some videos when the question says the array contains 10 elements yoh put a 9 for the rolls

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      That's a great question. Some programmers choose to omit index 0. For example if I have a set of dice (say a set of 6) I may want to omit index 0 and start with index 1. This so I know that index 1 relates to dice1 and index 2 dice2 and so on. If I don't omit index 0 I will need to remember that index 4 actually relates to dice5 and index 5 relates to dice4. It all comes down to what a programmer prefers and for me it is all about code that is easy to read and understand. Getting practice with using index 0 and omitting index 0 is the best practice because then you are ready for any scenario. So how do you know which to use? If Cambridge does not give you the lower bound of the array you can use 1 or 0 and it is completely your choice. If Cambridge gives you the lower bound then you have to use what they give 0 - a 0 or a 1. Does that make sense?

    • @tawadata
      @tawadata 2 місяці тому

      Thank you so much

  • @m1lnhaj
    @m1lnhaj 2 місяці тому

    Sir I know they could ask ask to write a recursive function for Binary tree traversal or binary search without any help and for some questions they give us pseudocode and asks us to convert them. But my doubt is would they ask as to code a recursive procedure or function for something completely diffferent without any psuedocode?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      For a traversal of a binary tree they will not give you pseudocode - I would be really surprised if they did. Most of the recursive questions are about traversing the binary tree and binary search and these will not include pseudocode. For other recursive functions, they would most likely give you pseudocode and this is to prevent hundreds of different solutions that they would have to check. No pseudocode for binary tree or binary search. Most likely pseudocode for any others. I did see for example a insertion sort that had to be written recursively and they did give the recursive pseudocode for that.

  • @SheyenneHeerah
    @SheyenneHeerah 2 місяці тому

    Do you have a video on linked list?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Yes I do. It can be found here: ua-cam.com/video/GZTVlKDAXuU/v-deo.html

  • @SahilBheekharry
    @SahilBheekharry 2 місяці тому

    What type of recursive exist I know recursive binary search only

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Binary search and traversing a binary tree. All others they will most likely give you pseudocode for.

  • @SahilBheekharry
    @SahilBheekharry 2 місяці тому

    Only a small question on stack

  • @SahilBheekharry
    @SahilBheekharry 2 місяці тому

    Because there was no queue or linked list in eitheir p2 or p4

  • @SahilBheekharry
    @SahilBheekharry 2 місяці тому

    Paper 4 in 2 days . There was a big question of binary tree in p3 so can i get binary tree again in p4 or should i pay less attention to it

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      It could be on P4 but I think it is highly unlikely to be assessed on P4 when it was on P3. I would be ready for it just in case.

  • @John-nn2nz
    @John-nn2nz 2 місяці тому

    i would humbly request you to please make a video about this as your videos are really helpful

  • @John-nn2nz
    @John-nn2nz 2 місяці тому

    do we have to write codes for random files, binary files (.dat) just like we do for text files???.. please reply sir i have exams on the 30th of october

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Good news! Binary files are not on Paper 4. It is only .txt files that will be assessed on Paper 4.

  • @m1lnhaj
    @m1lnhaj 2 місяці тому

    Sir for part D, the program I coded shows the empty nodes aswell which I believe is because printAll( ) loops 20 times but your output only shows the 10 times inputted even though I coded the exact same thing. Is that a problem or just an updated VB as this video is 2 years old?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      I have been analyzing the code for a while and found it - it can be traced all the way back to part A. I never declared the 2d array as an integer. If you go back to the 3:25 part of the video you will notice I never declared as an integer which I should have done! When you do not declare the data type, the default data type is an object. What does that matter? Because an Object data type has a value of Nothing as its default value while and integer has a default value of 0. This means the empty nodes would not print out. The empty nodes would not print out because when there is "Empty" or "Nothing" in a reference data type it won't print because nothing is there. If I made it an integer (like I am supposed to) I would have gotten your output. Cambridge never tells us what to declare it as even though it is obvious. Again, I apologize for the typo on my part. Cambridge would take your code. This is from 2021 and over the years they have tightened up their questions making them more clear. This questions was from the very first year of 9618 and was of course written before 9618 happened.

    • @m1lnhaj
      @m1lnhaj 2 місяці тому

      Thank you sir as always!

    • @m1lnhaj
      @m1lnhaj 2 місяці тому

      @@erbcomputerscience Sir could you also please put on a little overtime for us and post that tips and tricks video I asked aswell? Exam's in 3 days so would love to be prepared for the unknown.

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      @@m1lnhaj Sure. I will do it tomorrow. It will be a good time to go over the Parse/TryParse methods as well as converting to other data types and different ways to do it. I will do it tomorrow and put it up right after I finish. I will send you the link when it goes live.

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Ok. It has been done. Here is the video and it goes over Convert, Parse and TryParse and more. Hope you find it helpful! ua-cam.com/video/IMrr2MRQW34/v-deo.html

  • @John-nn2nz
    @John-nn2nz 2 місяці тому

    are we required to write any codes for this in paper 4 9618?? ... do we have questions in past papers regarding this topic? if yes.. can you please tell me those questions??.. i have exams in 4 days the 30th of october

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Because it is in the curriculum it could appear on either Paper 3 or Paper 4. I have not seen any past exam questions where they have assessed a Dictionary so I don't think it could appear. That is just my opinion though. It would be a good idea to know how to program one just in case.

    • @sladrixx
      @sladrixx 2 місяці тому

      same I have exams in like 14 hours

  • @digitaldave1136
    @digitaldave1136 2 місяці тому

    Hey, loved the video, I had several issues where you just basically skipped a bunch of code and steps and never really showed them, such as the global variables. I managed to figure it out by whenever you went up there to change the system imports.

  • @SahilBheekharry
    @SahilBheekharry 2 місяці тому

    Really helpful videos bro. Continue the great job

    • @SahilBheekharry
      @SahilBheekharry 2 місяці тому

      What are you predicting or expecting for the oct nov exams variant 2

    • @SahilBheekharry
      @SahilBheekharry 2 місяці тому

      There was a big question of binary tree in p3

    • @SahilBheekharry
      @SahilBheekharry 2 місяці тому

      So can i think probably no binary tree for p4

  • @m1lnhaj
    @m1lnhaj 2 місяці тому

    Sir I know I've been requesting a lotta videos for the last few weeks as finals are near and I'm super grateful of you delivering them aswell! To be honest I've learnt most of VB from you than any one else. I was wondering if you could drop a video on tips and tricks part 2 and explaining things like Parse, Tryparse and other stuff like that which we don't have an idea about but might need it for A levels?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      I got you covered. I'll be able to record it and post it tomorrow! Any other methods you need me to review? I can add those in the video too.

    • @m1lnhaj
      @m1lnhaj 2 місяці тому

      I believe I couldn't make myself clear. Sir I actually don't know all the methods that we should have an idea about like Parsing was a new thing for me when I came across your walk-through, so these little stuff, hope you get it. So I was wondering if you could cover the methods which you think are necessary to know apart from the obvious?

    • @tawadata
      @tawadata 2 місяці тому

      I was wondering if you could do more question papers maybe before next week Wednesday,that is when the final exam is​@@erbcomputerscience

  • @eddytaku1786
    @eddytaku1786 2 місяці тому

    Erb hwzt

  • @crest1
    @crest1 2 місяці тому

    what do the code mean by item is 999999

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      I am sorry but I have no idea what you are referring to - can you tell me what part of the video you are referring to so I can tell you what it means? I would love to help, I just need to know what part of the video your question is in reference to.

    • @crest1
      @crest1 2 місяці тому

      @@erbcomputerscience 1:51:13, the code returns "the item is 999999", im not sure about that part

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      @@crest1 Ah I see what you are referring to now. The first 6 digits of the item code refer to the item with the 7th digit being a check digit. We enter that into the queue first - 999999X. The check digit(X) is not part of the item code though so only the first 6 digits are. The reason the check digit is X is because the result of the mathematical calculation is 10. We cannot use 10 as the check digit because it is a 7 character string (including the check digit) and not 8. If the item has a valid check digit it is added to the queue and if it is not valid it is not added to the queue and we increment the number of invalid items. When we call Dequeue it outputs the first item that was added to the queue which is the item number 999999. Queues work on the first in first out principle. It removes items in the order they were entered. Because the number 999999X has a check digit of X and is valid, it is the first one outputted from our queue. It is only the item number and not the check digit since just the item number was stored and not the check digit. That is what the substring method does in the video when we do: Result = Input.Substring(0, 6) - It isolates character 0-5 but not character 6 which is the check digit. Remember, when we start counting at 0, 0-6 would be 7 characters, but we just need the item number. The directions say to add the item number to the queue. Our substring starts at 0 and isolates the first 6 characters starting from character 0. 0 1 2 3 4 5 --> 6 Characters total for the substring 9 9 9 9 9 9 -->The item number Does that make sense?

  • @Neelesh1592
    @Neelesh1592 2 місяці тому

    Hello sir, really appreciate your work. I was having a slight issue with Quantum Key Distribution and how it works. Can you please do a video on that?

  • @LAD_the_coder
    @LAD_the_coder 2 місяці тому

    omg thanks so much. This was actually so helpful!!!

  • @stuartcerejo5256
    @stuartcerejo5256 2 місяці тому

    i liked your voice plz make more videos

  • @m1lnhaj
    @m1lnhaj 2 місяці тому

    Sir in which circumstances should we use Decimal, Single and Double as data types?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      That's a great question. Single and Double take up less memory than Decimal but are less precise which can lead to slight miscalculations. These miscalculations can become very large if data is being processed hundreds or even thousands of times. Remember in 13.3 when you did Mantissa and Exponent? Bits are split between range and precision. Both use fractional binary but are not precise. This is okay if you're doing physics calculations where you only need to go to say 3 significant digits. It's okay that the last few places being held as a decimal are off slightly. When dealing with finances or any program dealing with finances you should use Decimal because it is extremely precise meaning it has higher precision than Single and Double. You definitely do not want a client (or even yourself) to have missing money. Think of a business that is doing thousands of transactions a month. If we are having miscalculations that would lead to lots of money missing throughout the year and it wouldn't match the accounting books at all. Decimal is extremely precise but it is slower than Single and Double and also takes up more memory. In today's world memory isn't really a problem (unless you have a really large program) and speed isn't so much of an issue the way it use to be. For your Cambridge exam it really comes down to choice. I want very high precision so I always use Decimal and tell my students to as well. If you would like to use Single or Double you are more than welcome to, just remember, it doesn't have as high precision as Decimal. Also, Cambridge will give you marks if you have a working solution. In an OOP exercise where they say the data type is REAL, you can use Single, Double or Decimal and they would give you marks for it. Does this help?

    • @m1lnhaj
      @m1lnhaj 2 місяці тому

      @@erbcomputerscience Wow, really appreciate the elaboration sir!

  • @Hritikesh-p7q
    @Hritikesh-p7q 2 місяці тому

    Hi Erb.Can you please make a video on recursion(coding plus solving some recent paper 3 recursion questions)?

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      You got it. I have a one more P4 review to do and then I'll do your recursion video with some P3 questions. It'll be sometime this week and I'll get it up as soon as possible for you!

    • @Hritikesh-p7q
      @Hritikesh-p7q 2 місяці тому

      @@erbcomputerscience Thank you but can you please put it up before this wednesday as I would be taking my p3 this wednesday.

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      @@Hritikesh-p7q A new video before then would be very tough as I have a full day Monday and Tuesday. Here is a video I have that walks through a recursion problem from a past P3 exam that I hope you find helpful. ua-cam.com/video/XuhY2L-5MGo/v-deo.html It walks through a past question as I mentioned which is what you are looking for. Let me know if I can answer any questions for you before your exam if you have any. I would say good luck but you're not going to need it because you got the skills and will crush that P3 and P4 exam!

    • @Hritikesh-p7q
      @Hritikesh-p7q 2 місяці тому

      @@erbcomputerscience Hi thanks Erb.Looking forward for the recursion video.

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      @@Hritikesh-p7q Here is your recursion video. Hope you find it helpful! ua-cam.com/video/8MWSIE5W1YE/v-deo.html

  • @m1lnhaj
    @m1lnhaj 2 місяці тому

    Loved it. Hope a few more hard p4 walkthroughs gets dropped before the exams (30th)!

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      There's another one in the works and on the way. Should be live in the next couple of days or so.

    • @erbcomputerscience
      @erbcomputerscience 2 місяці тому

      Here it is: ua-cam.com/video/LawOyp5dnuE/v-deo.html Hope you find it helpful!

  • @darkphantom4848
    @darkphantom4848 3 місяці тому

    you sound similar to Mark Rober.