JavaScript is a scripting language used to create web page content. Within JavaScript, there are variables that are basically a location that holds values. There are two ways to declare a variable in JavaScript. In class, we used “let” as the keyword, but you could also use “var” to declare a variable. The “Hello World” assignment we did in class together is a good example of declaring variables but more importantly understanding when a variable is initialized. To initialize a variable by giving it value. To do so your variable is then followed by an assignment operator. In the assignment we did together, we first coded “let myText” which is only declared, but when we added it, the new code read, “let myText = “Hello, World” which made a variable change from declared to initialized. The equal sign is the assignment operator in this example. Some key things to remember when naming your variable is that it must start with a letter, underscore, or character but NOT a number. They can be as simple as one word or as long as you need but it is important to note that spaces are not allowed when naming your variables. In many other coding assignments we had, we also used arithmetic operators. An arithmetic operator is an operator that performs the operation selected on the groups or numbers. The main ones we used were “+” which is addition, “-” which is subtraction, “*” which is multiplication, and “/” which is used for division. There are other arithmetic operations as well but these were the ones we mostly used. When using arithmetic operators remember to use order of operations to ensure that JavaScript reads it properly and gives the answer you need. One of the last key things we learned how to use is concatenation operators which allows us to string two strings together.
Posts
How did the function do
In a programming language, calling a function causes it to carry out the set of instructions it contains. A self-contained chunk of code known as a function executes a single task or a group of related tasks.
A function can take one or more parameters, which are values when you call it. The arguments are used by the function to carry out its function. The function then uses these inputs to execute its code, returning a value or carrying out an action.
Functions can be used to modularize code, increase its reusability, and minimize code duplication. They can be called from many places in a program. You can carry out a set of instructions by invoking a function rather than writing new code each time you need to complete the same task.
1b Question
Loops (6b Question)
In programming, loops are used to run a block of code repeatedly, either until a predetermined condition is fulfilled or for a predetermined number of times. Loops are crucial for completing repetitive operations, managing the flow of our program, and iterating over arrays, lists, and other data structures. Loops are a fundamental programming element to automate repetitive activities, cycle over data structures, and regulate the flow of our program based on specific conditions. A for loop consists of three components: 1. Initialization: The for loop’s opening statement is the only instance of this component of the code that gets run. It is used to set the initial value of the loop counter and to initialize the loop variable(s). Although not required, this section is typically used to declare and initialize counter variables. 2. The second component of the for loop is used to check a condition prior to each loop iteration. The loop keeps running if the condition is true. The loop ends if the condition is false. Each cycle starts with a check of this condition. 3. The third section of the for loop is used to update the loop variable(s) at the conclusion of each iteration. Usually, this is done to increase or decrease the loop counter. At the conclusion of each iteration, the update statement is carried out.
1a Question
Agile and Waterfall are both software development life cycle(SDLC) methodologies. The key differences are that agile SDLC is designed to ease change and get rid of waste processes. Whereas waterfall is a classical SDLC. It’s a logical progression of linear and sequential phases within the project lifestyle process.
MIS stands for management information systems, it is the study of people, technology, organization, and the relationships between them. MIS professionals help company’s or firms reach maximum benefit. This can be seen as investment in employees, equipment, and the business process.
SDLC – Software Development Life Cycle, API – Application Program Interface, ERP – Enterprise Resource Planning, and UX – User Experience.
6a Question
The isNaN function was created to make it easier for programmers to determine whether a value is a fair number. The NaN value in JavaScript is a unique value that stands for “Not a Number.” It is produced by several mathematical operations, such as taking the square root of a negative number or dividing a number by zero. When given a single argument, the isNaN function returns a Boolean result that is true if the argument is NaN (i.e., not a number) and false otherwise. In JavaScript, conditions involving multiple Boolean expressions are evaluated using the logical AND operator (&&) and the logical OR operator (||). Only when both operands are true does the logical AND operator (&&) return true. Otherwise, false is returned. In JavaScript (and many other programming languages), we utilize if/else statements to regulate the program’s flow depending on specific circumstances. We can only run specified chunks of code using if/else statements if a particular condition is true.
1b Post (Salesforce)
Salesforce is a popular customer relationship management platform used by many businesses and help with marketing, sales, commerce, services, and IT (salesforce.com). It’s a great platform to use in the business field. I’m glad that we learned how to use salesforce in this class. The platform is very organized and is a great tool for any MIS professional. It’s a great way to track any customer service issues, keep track of your customers and their profiles, understand your customers wants and needs, and help with any tasks that needs to be done in a timely matter. I think Salesforce is a great platform for anyone in business. I participated in a certification program through Google for Digital Marketing and we learned a little bit about Salesforce, but it was really nice creating an account and actually using it the way we would in a professional setting. I gained a better understanding of how it works, and it will be beneficial to know for my future career.
What is Salesforce? Salesforce.com. (n.d.). Retrieved March 2, 2023, from https://www.salesforce.com/in/products/what-is-salesforce/#:~:text=Salesforce%20is%20the%20world’s%20%231,keep%20your%20customers%20happy%20everywhere.
What is JavaScript, the example?
A variable in JavaScript is a named storage location for data that may be accessed and changed during the course of a program. Variables can store several forms of data, including numbers, strings, and objects, and their values can be modified while a program is running. JavaScript include you can use the “var”, “let”, or “const” keyword followed by a variable name.
For example,
the “let” keyword creates a block-scoped variable that can be reassigned,
the “var” keyword creates a variable that has global or function scope.
A block-scoped variable that can’t be reassigned after initialization is made using the “const” keyword.
Three types of AI
What is AI?
Artificial intelligence, or AI, is the capacity of robots to carry out operations that ordinarily call for human intelligence, such as comprehending natural language, recognizing speech, and making judgments based on data. The foundation of AI is the idea of building intelligent machines that can function and think like people.
- ASI: Artificial Superintelligence, this kind of AI is likewise mostly speculative, although some professionals think that it might one day be possible with a combination of cutting-edge hardware and software.
- AGI: Artificial General Intelligence, this kind of artificial intelligence is still largely theoretical and unrealized. AGI systems that can reason, learn and comprehend natural language are currently under development.
- ANI: Artificial Narrow Intelligence, this includes the recommendation algorithms used by internet shops, speech recognition software, and image recognition software
How can network help you in your daily life?
What is a network?
A network in computing is a collection of linked devices and computers that can speak to one another and exchange data. Local area networks (LANs) and wide area networks are two different types of networks (WANs). The network can talk with one another and exchange resources like files, printers, and internet connections through networks. Networks can be utilized for a wide range of activities, including social interactions, commercial processes, and entertainment.
So the network can bring us a more convenient society, for example, if you want to send an email to your friends whose is far away from you, you can use the network to help you. It just needs to take a second. Next, if your boss wants to send a copy to you, you can use the printer to receive his copy. It brings us more benefit world but it also let more and more people lazy.
I believe we are learning salesforce because it is an important tool to have when working with businesses. It allows us to understand how businesses keep track of customer interactions and sales data. Salesforce brings together marketing, sales, commerce, and IT teams that all can work from one webpage. I read “A swim lane map is similar to a flowchart in that it maps out a process, decisions, and loops” I felt this was good analogy. A swim lane map has three elements time, people, and task/processes.