• Log In
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Digital Systems

Department of Management Information Systems, Temple University

Digital Systems

MIS 2101.712 ■ Summer 2022 ■ Steven E. Sclarow, AIA
  • Home
  • About
    • Course Materials
    • Course Requirements
    • Email Policy
    • Grading
    • Gradebook
    • Instructor
    • Temple and COVID-19
    • Zoom Requirements
  • Canvas Content
  • Coding Files
  • Helpdesk
  • Zoom Links
  • Video Vault
  • Diamond Peer Corner
  • Posts

Posts

Week 12 Questions

Taylore Brownewell - June 19, 2022 Leave a Comment

Loops tell the computer to run a function repeatedly. They are useful if you want to run the same code over and over again with a different input each time. To run the code a specific number of times, we use the for loop and tell the computer the numerical values in which we want the loop to run. We could also use the while loop and tell the computer the conditions in which we want the loop to run; so it won’t stop at a number but it will stop once the conditions are no longer met.

Link for image: https://blog.devgenius.io/the-anatomy-of-a-for-loop-in-javascript-9523c3da0d59

 

Weekly Questions: 13

Zac Bloom - June 19, 2022 2 Comments

When it comes to adding the structure to a web page HTML is used. When it comes to adding functionality to a web page JavaScript is used and when it comes to the design of a web page CSS is used. Java Script is considered event driven because in order for Java to work it requires you to input the code in which you want to run. If no code is ever entered Java has nothing to run. This is the reason we had to take the time to learn how to code throughout the semester. 

Week 11 Questions

Taylore Brownewell - June 19, 2022 2 Comments

6 Tips to Improve Your Conditional Statements for Better Readability | by  Amy J. Andrews | JavaScript in Plain English

The purpose of the if/else code in JavaScript is to execute a block of code if a specified condition is true, and execute another one if the condition is false. IsNaN is short for “not a number”. The isNaN() code returns true if a value is not a number.

Link to image: https://javascript.plainenglish.io/6-tips-to-improve-your-conditional-statements-for-better-readability-56256c5a5245

Weekly Questions: 12

Zac Bloom - June 19, 2022 1 Comment

Loops are a sequence of instructions that is repeated until a certain condition is satisfied. This allows you to conveniently repeat codes without having to make a whole new line. When we want to run a code a specific number of times a “for loop” is used.  When we don’t know the number of times the loop should run a “while loop” is used. The three parts of a loop are the keyword that begins the loop, the condition, and the keyword that ends the loop. 

Week 10 Questions

Taylore Brownewell - June 19, 2022 Leave a Comment

Function in javascript (with 15 examples)

A function in JavaScript is a set of instructions that performs a task or calculates a value. Every time you “call” the function, you are asking the computer to run it again. Passing a function means a function can be passed to another function as a new argument. This will allow the function being called to use the function argument to complete its task. The return keyword prompts the function to end and give the result of the function.

Link to image: https://www.tutorialstonight.com/js/js-function.php

Week 9 Questions

Taylore Brownewell - June 19, 2022 Leave a Comment

ProgrammingHunk: Variables In JavaScript

A variable in JavaScript is the name of a storage location for data. For naming a variable, names can contain letters, numbers, underscores, and dollar signs. Names must begin with a letter, dollar sign, or underscore, and the names are case sensitive.  To initialize the variable, use the equal sign to set the variable name equal to a piece of data, and to declare a variable, we need to use the var, let, or const keyword, then whatever we named the variable. The prompt() code tells the browser to display a text box with a message asking the user to input some data.

Link to image: https://www.programminghunk.com/2020/02/variables-in-javascript.html

The Three Parts of a For Loop

Grace Adams - June 19, 2022 Leave a Comment

Here are the three parts of a for loop, and how to remember them: 

Initial-Action: This is where you state what a certain value equals. For example i=0, we are stating that currently, i is equal to zero. This is easy to remember because it’s the initial value, it is current. 

Loop-Continuation-Condition: This is part of a for loop that determines when the loop starts. For example, i <10. As long as i is less than ten, the loop will carry on. When i becomes greater than or equal to ten, then the loop will stop. This one is easy to remember because it’s the condition, on what condition does the loop stop, and on what condition does the value make the statement false? 

Action-After-Each -Iteration: This is the last part of a for loop. This part of a for loop tells you what to do with i after the loop is carried out one time. For example i=i+2. Each time the loop carries out, i will equal the current value plus two. This is easy to remember because it’s what happens after a loop, the ACTION that takes place once the loop is over. 

Week 8 Questions

Taylore Brownewell - June 19, 2022 2 Comments

What Is Threat Modeling? Definition, Process, Examples, and Best Practices  | Toolbox It-security

Threat modeling is a process where possible threats, such as weak passwords or the absence of appropriate safeguards, can be identified and suggestions can be made. Ransomware is the denial of a user or organization’s access to files on their computer until a ransom is paid. Hospitals are often targets because they need their data to treat patients immediately in emergent situations. 

Some methods to protect yourself online is to look your accounts up in a data breach, and then to get two-factor authentication and/or a password manager.

What Are The 3 Types Of AI? | Deccan Herald

There are three kinds of artificial intelligence (AI.) Narrow AI, which is where we are today, is designed on task by task basis. General AI is a design where the technology will perform and “think” like a human. Super AI is where the technology goes beyond human intelligence and will be in its own control.

Links to images: https://www.toolbox.com/it-security/network-security/articles/what-is-threat-modeling-definition-process-examples-and-best-practices/

https://www.deccanherald.com/brandspot/pr-spot/what-are-the-3-types-of-ai-853275.html

If/Else Statements

Grace Adams - June 19, 2022 Leave a Comment

When coding, if/else statements can be very useful. They allow code to be carried out based on the terms we set. Basically, we are stating that IF something is true, then the program should carry this function out, if it’s not true, so else, it carries a different statement out. We use if/else statements in order to run code based on if a statement is true or false. 

Example: 

let number = prompt (“Enter a number”);

 if  (number != 0) { 

alert (‘Not zero’);

}else{

alert (Number is zero);

{

With this function, if a person enters a number other than zero, then the program will alert “Not Zero”. We know this because we said  if  (number != 0), != means “doesn’t equal”. However, if it is zero, then the program will return “Number is zero”. 

 

With if/else statements you can have many different elements, stated by the term “else if”. You can use as many as you want in order to do what you want to. It looks like this: 

let color = prompt (“Pick a color. Pink, red, blue.”);

 if  (color = ‘Pink”) { 

alert (‘You chose pink);

}else if (color =’Red’){

alert (‘You chose red’);

}else if (color =’Blue){

alert (‘You chose blue’);

}else{

alert (“You did not choose a valid color”);

Week 9 Post

Beckett Houck - June 19, 2022 2 Comments

What is a variable in JavaScript? And how do you create one?

A variable in JavaScript is any item that is subject to change. In JavaScript a variable can start with a letter, symbol, or underscore, but cannot start with a number. Variables can also contain however many characters you would like. To create a variable all you have to do is use the keywords var or let and then name your variable and assign it to a value. After that, you have your specific variable that holds data.

How to Declare a Variable in Javascript (with Pictures) - wikiHow

  • Page 1
  • Page 2
  • Page 3
  • Interim pages omitted …
  • Page 13
  • Go to Next Page »

Primary Sidebar

ANNOUNCEMENTS

Week 12 Questions

Loops tell the computer to run a function repeatedly. They are useful if … [More...] about Week 12 Questions

Weekly Questions: 13

When it comes to adding the structure to a web page HTML is used. When it … [More...] about Weekly Questions: 13

Week 11 Questions

The purpose of the if/else code in JavaScript is to execute a block of code … [More...] about Week 11 Questions

Weekly Questions: 12

Loops are a sequence of instructions that is repeated until a certain … [More...] about Weekly Questions: 12

Week 10 Questions

A function in JavaScript is a set of instructions that performs a task or … [More...] about Week 10 Questions

Week 9 Questions

A variable in JavaScript is the name of a storage location for data. For … [More...] about Week 9 Questions

Instructor

Steven E. Sclarow, AIA

Email: sclarow@temple.edu
Virtual Office Hour Availability: Tue, 10 - 11:00 AM, or by appointment. Please email me to schedule an appointment outside of my normal office hours.
Virtual Office: https://temple.zoom.us/j/94115790056

ITA CONTACT INFO

ITA
Name: Anna Boykis
Email: anna.boykis@temple.edu
ITA
Name: Jessica Rakhman
Email: jessica.rakhman@temple.edu

Helpful Links

FOX Laptop Policy
FOX Laptop Support

Gradebook

Installing-VS-Code-Windows
Installing-VS-Code-Mac-OS

Copyright © 2025 · Department of Management Information Systems · Fox School of Business · Temple University