SUPREMOTM's Posts
Nairaland Forum › SUPREMOTM's Profile › SUPREMOTM's Posts
Ogori8:Fast result doing cool stuff, data science, data analysis, Machine Learning, PYTHON. With plenty of patience to learn all that's required to be a software engineer before you can create something satisfying, C# and .Net NOTE: For full stack .Net development (you will be building enterprise software) you will have to learn -HTML CSS Bootstrap (Bootstrap comes with Visual Studio) -JavaScript and a Js framework (Angular preferred) -C# -OOP -SOLID design principles -T-Sql with SQL-Server, NoSql -Entity Framework Core -.Net Core -ASP.Net Core MVC -Asp.Net Web API For games development -C# -OOP -SOLID design principles -Entity Framework Core -Unity Game Engine For Cross-Platform development -C# -OOP -SOLID design principles -Any flavour of SQL, NoSQL -.NET MAUI (To build applications for Android, IOS, Windows desktop and MAC devices) -XAML to design your applications For cloud development, -C# -OOP -SOLID design principles .Net Core -Networking -SQL, SQL Server, Azure Cosmos Db -Azure It may look overwhelming at first, but if you are consistent and persevere through, it is rewarding. |
Winform in 2022? When we are waiting for .Net MAUI. |
ShadowCracker:Maybe he got stuck with classic ASP, winforms and web forms. .Net platforms experienced so much changes since 2016 that you either have to keep up or get left behind. |
Two weeks into Kotlin. |
Chukwudaalu:Kudvenkat SQL server playlist on YouTube is the most comprehensive video tutorials you'll find. Don't bother with Udemy on SQL server except you just want a jumpstart; their top rated SQL server tutorials are superficial at best; they don't cover beyond 5% of Kudvenkat's playlist. If you need a book recommendation, try Murach's SQL Server for Developers. |
just2endowed:Inventory ------- Class Name trophy ----------- Object Reference Variable new --------------- keyword for creating an object Inventory ( ) ---- Constructor of Inventory class SYNTAX for creating objects from a class is: Inventory trophy = new Inventory ( ) Inventory goldberg = new Inventory ( ) After you have created the 2 Inventory objects above, you can go ahead to set values for the properties of the objects or invoke the methods in the class; you do that by using the member access operator "." @toke111 is right |
kingimmade:All Glo plans can be shared with 5 people max, with yourself, the sharer, that's 6 people. |
GLO 1 Terabyte for 100k Valid for 1 year Average of 100 naira for 1Gig If you can't afford it alone, get a couple of people to pool the funds to subscribe, then share. It doesn't get better than that |
Week2 Bonus Question Language: Javascript Google Chrome console is used for testing the function. First calculate the amount of money needed to make calls for 10 minutes, store it in a variable, cost10. After that, there are only 2 conditions to check for in this order. 1. Is your account balance greater than cost10? If yes, the time is (your balance minus cost for first 10 minutes divided by the charges for 11th minute and above) plus 10. ==>time2 2. Is your account balance greater than or equal to the cost for a minute of call? If yes, the time is (your balance minus cost for 1st minute divided by the charges for 2nd to 10th minute) plus 1. ==>time1 If it doesn't satisfy any of the two conditions above, you have 0.
|
QUESTION 2 LANGUAGE: C# IDE: Visual Studio Pseudocode: Mostly same as for JavaScript Whenever the button is clicked, the function AmicableNumbers( ) is invoked and the list of amicable numbers in the specified range is written to a notepad file on my desktop.
|
QUESTION 1 LANGUAGE: C# IDE: Visual Studio Pseudocode: Mostly same as for JavaScript I created a function GetPerfectNumbers( ), so as to have an idea of the numbers that should return true. I created a function IsPerfectNumber( ) that takes the number to test as an argument. If the test number is a perfect number, it returns true. I made it into a desktop application, so, after several test numbers are typed in a textbox, separated by commas and the button is clicked, the boolean values representing the return value of the function for each of the numbers is displayed beside the number.
|
QUESTION 2 LANGUAGE: Javascript IDE: Visual Studio Code Chrome browser console is used to test the function. 1. First, I create a while loop with values ranging from the the lower parameter to the higher parameter of the function. 2. For each of the values of the control variable in the while loop, I get the sum of its factors (otherNumber); then I reverse the process immediately (I get the sum of the factor of otherNumber (testForAmicability) and check to see if it is equal to the loop control variable(startValue)). 3. If the test performed in 2 above shows the two numbers are equal, I append the two values to the return value of the function (AmicableResult); 4. I increment the loop control variable by 1 and repeat the steps (2 and 3 above).
|
QUESTION 1 LANGUAGE JavaScript IDE: Visual Studio Code Since no factor of a number can be greater than half of the number, besides itself, I made the loop control variable have a maximum value of half the number. So as to be able to test the function with valid perfect numbers, I had to also create a function that gets all the perfect numbers from 1 to 100000, the function returned 4 numbers. The results of the tests are displayed on Chrome browser console window.
|
QUESTION 2 Language: JavaScript IDE used: Bracket Tested on Chrome browser console with the displayed results
|
QUESTION 1 Language: JavaScript IDE used: Bracket Tested on Chrome browser with the displayed results
|
QUESTION 2 Language C# timeOfDay() method is used to obtain the result. buttonGetTime_Click() method is used to call the above method when the button is clicked. I turned it to a desktop application, so you get the results displayed whenever you click a button. The 3 screenshots below it are examples and the obtained results.
|
QUESTION 1 Language C# First screenshot is the code in Visual Studio. MaximumProductOfAdjacentValues() method is used to obtain the result. buttonMax_Click() method is used to call the above method when the button is clicked. I turned it to a desktop application, so you get the results displayed whenever you click a button. The 3 screenshots below it are examples and the displayed results.
|
This post is hidden |
QuantumR:That's a dangerously bad practice! Instead, you code once, create methods, classes and assemblies while at it. Import them and use later or forever!! |
Traversy by far. I watched Mosh's C# tutorial for beginners, intermediate and advanced on Udemy and I got very little information for all the time devoted. Dude was just touching the surface. I felt like I wasted a lot of time because I would still have to go and read everything from scratch. Traversy's tutorials are very information-laden. |
Akhigbeblog:It is called Responsive Design, and you need to learn it to make your page adapt to all screen sizes. It is made by adding media queries to your CSS. Your content is not looking okay on all devices because your page is not yet responsive. You need to write some more CSS rule sets to make that happen. Just look for tutorials on media queries and responsive design and you'll see how it is done; you will not be learning a lot of new stuff; just how to modify your existing style sheets or add a new style sheet to your HTML head tag. To make responsive design a painless experience, you need to learn how to use some CSS3 properties like Flex-box and Grid instead of Float and also learn how to use units like vh, vw, rem, % instead of px. |
kay9:Okay |
3KINGZ18: |
manuel4real:You have a loop (I'm assuming you know what a loop is/does) Line 1: You declare a loop control variable, i Line 2: You define a condition that must be fulfilled for the loop execution to continue Line 3: If the condition in line 2 is fulfilled, you do something (I'm assuming you know what the print function does) Line 4: Line four is a condensed/short form of 2 actions. #1 First, you increment the loop control variable by 1 (Right hand side), i.e you increased the value of i by 1. #2 Secondly, you re-assign the new value to the variable i (in line 1, you set i = 1, but in line 4, you have changed/increased it to 1+1) After line 4, the loop execution will return to line 2, so, the next time the loop condition is checked, the value of i will be 2. The loop will continue to run until i has increased to 5 (as stated in the loop condition), then, the condition will no longer be satisfied and execution will move out of the loop. So, your print(i) function will output the various values of i, that is 1,2,3 and 4, then code execution will move to the next line after your loop. |
spartan117:Ok |
Bade007:You can and you probably should, but if you want paid employment as a JavaScript programmer, I'm 99.9999 percent certain that knowledge of frameworks will be a requirement for employment. Vanilla JavaScript (plain JavaScript, without framework) hasn't always been as powerful as it is today, so, most web projects were made with Frameworks; maintaining them requires you to understand the framework used. |
Fisayo22:COPY AND PASTE it in your code editor, then link the javascript file to your HTML file so you can make use of the browser to view the operations. Ask for clarifications wherever you are confused. let input = prompt("Enter the coefficients of X squared, the coefficients of X and the CONSTANT respectively, separated by commas, and click OK" ,coefficients = input.split("," ,a = coefficients[0], b = coefficients[1], c = coefficients[2]; alert(`Please Confirm if the information below is correct.\n\nCoefficient of X squared = ${a}\nCoefficient of X = ${b}\nThe constant term = ${c}\n\nNB: If any of the inputs is incorrect, please click OK and refresh your browser to input the correct values`); let delta = Math.pow(b,2)-(4*a*c), root1 = (-b - Math.sqrt(delta))/2*a, root2 = (-b + Math.sqrt(delta))/2*a; alert("delta = "+ delta); if(delta >= 0){ alert(`Since delta is a positive number, the roots of the quadratic equation are ${root1.toFixed(2)} and ${root2.toFixed(2)}`); } else{ alert("The quadratic equation has complex roots" ;}
|
Everyone does it
|
It could take more time to find than was used for writing the code.
|
The beginning of an uncomplicated life.
|
When all the children are mature and the papa is senile.
|
,