Create a PHP page, with the standard HTML <head>,
<title> and <body> tags.
Save your file with the .php extension.
Inside the <body> tag, create a PHP section and create
several variables regarding on the student information example
Student_FirstName, Student_MiddleName, Student_Lastname, address, course, year, and motto will show as a text in the browser.
Given an
app.js file and a database file twitterClone.db consisting of five tables user, follower, tweet, reply, and like.Write APIs to perform operations on the tables
user, follower, tweet, reply, and like containing the following columns,User Table
ColumnTypeuser_idINTEGERnameTEXTusernameTEXTpasswordTEXTgenderTEXT
Follower Table
ColumnTypefollower_idINTEGERfollower_user_idINTEGERfollowing_user_idINTEGER
Here, if user1 follows user2 then,
follower_user_id is the user ID of user1 and following_user_id is the user ID of user2.Tweet Table
ColumnTypetweet_idINTEGERtweetTEXTuser_idINTEGERdate_timeDATETIME
Reply Table
ColumnTypereply_idINTEGERtweet_idINTEGERreplyTEXTuser_idINTEGERdate_timeDATETIME
Like Table
ColumnTypelike_idINTEGERtweet_idINTEGERuser_idINTEGERdate_timeDATETIME
{
"username":"JoeBiden",
"password":"biden@123"
}
Properties Of Relation (Cover Transitive, Reflective and Symmetric)
a. Embed Transitive, Reflective, and Symmetric rules into the program.
b. Write a program that read set of element and its relation. Your input data will be read from text file/console/GUI with the format below:
Input (Example): {(1, 1), (1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}
You need to create a GUI application to process your input and output.
c. Determine the properties of relation (reflexive, symmetric, transitive.....). For example the above set and relation will produce:
Output: The set properties is REFLEXIVE, SYMMETRIC, AND TRANSITIVE.
d. Your program also need to be able to generate the Transitive, Symmetric and Closure for the set and relation.
(This example is for guidance only. The actual data is necessary according to your case.
Given an app.js file and a database file twitterClone.db consisting of five tables user, follower, tweet, reply, and like.
Write APIs to perform operations on the tables user, follower, tweet, reply, and like containing the following columns,
User Table
Column Type
user_id INTEGER
name TEXT
username TEXT
password TEXT
gender TEXT
Follower Table
Column Type
follower_id INTEGER
follower_user_id INTEGER
following_user_id INTEGER
Here, if user1 follows user2 then,
follower_user_id is the user ID of user1 and following_user_id is the user ID of user2.
Column Type
tweet_id INTEGER
tweet TEXT
user_id INTEGER
date_time DATETIME
Reply Table
Column Type
reply_id INTEGER
tweet_id INTEGER
reply TEXT
user_id INTEGER
date_time DATETIME
Like Table
Column Type
like_id INTEGER
tweet_id INTEGER
user_id INTEGER
date_time DATETIME
Sample Valid User Credentials
API 1
API 2
Authentication with JWT Token
API 3
API 4
API 5
API 6
API 7
API 8
API 9
API 10
API 11
a) Using the Google Meet platform as a practical example, discuss how it would be categorized under this course and discussing its different components and their purposes
The above url contains Twitter Question and following things
https://github.com/Harinadh93/Twitter.git
We want code in app.js file and app.http file
We want exact output
Given an
app.js file and a database file twitterClone.db consisting of five tables user, follower, tweet, reply, and like.Write APIs to perform operations on the tables
user, follower, tweet, reply, and like containing the following columns,User Table
ColumnTypeuser_idINTEGERnameTEXTusernameTEXTpasswordTEXTgenderTEXT
Follower Table
ColumnTypefollower_idINTEGERfollower_user_idINTEGERfollowing_user_idINTEGER
Here, if user1 follows user2 then,
follower_user_id is the user ID of user1 and following_user_id is the user ID of user2.Tweet Table
ColumnTypetweet_idINTEGERtweetTEXTuser_idINTEGERdate_timeDATETIME
Reply Table
ColumnTypereply_idINTEGERtweet_idINTEGERreplyTEXTuser_idINTEGERdate_timeDATETIME
Like Table
ColumnTypelike_idINTEGERtweet_idINTEGERuser_idINTEGERdate_timeDATETIME
{
"username":"JoeBiden",
"password":"biden@123"
}
Time Converter
In this assignment, let's build a Time Converter by applying the concepts we learned till now.
Refer to the below image.
Instructions:
By following the above instructions, achieve the given functionality.
Final Value with Appreciation
Given principal amount
principal as an input, time period in years time and appreciation percentage apprPercentage as optional inputs, write a JS function to return the final value finalValue with the given appreciation percentage and time period. The default values for time and apprPercentage are 2 and 5 respectively.
Quick Tip
The formula to calculate the final value with appreciation is,
finalValue = principal * (1 + time * appreciation / 100)