;linear search
.model small;set model small
.stack 110h;set or leave 100 bytes for stack Continue reading
Tag: Programming assignment help
Python Task on Objects and Algorithms
files=["in_abc10.txt","in_abc100.txt"] outFiles=["out_abc10a.txt","out_abc100a.txt"] finalOutputFile=["out10b.txt","out100b.txt"] Continue reading
C++ Task on Searching and Sorting Project
#include <iostream>
#include<fstream>
#include<vector>
#include<string>
#include<stdio.h>
#include <string>
using namespace std; Continue reading
R Programming Task on Model Comparison and Lasso
```{r setup, include = FALSE} knitr::opts_chunk$set(echo = TRUE) library(cvTools) #library(glmnet) library(sandwich) Continue reading
R Programming Task on Naive Bayes Classifier
#data
Universal_bank = read.csv(“UniversalBank.csv”, header = T)
dim(Universal_bank)
head(Universal_bank) Continue reading
Python Task on Island of Rats and Cats
from numpy import random
def get_rain():
if random.rand() < rain_chance:
return 0
return max(0, random.normal(rain_mean, rain_std, size=(1, 1))[0][0]) Continue reading
Python Task on War and Peace by Leo Tolstoy
#!/bin/python3
“””
Explain how your pseudo random numbers are produced.
– The pseudo random numbers without seed value. Will be take the nanosecond on posis system. Then move to text file base on position. So it will work.
– The pseudo rando number with seed value. Will be move to file with this position. That’s mean the random will be the same
“”” Continue reading
Python Task on Run-Length Encoding & Decoding
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
/* Stores parameters that specify how to the program should behave. * Continue reading
Python Program on Guessing Game
import numpy as np print('') print("Enter two numbers, low then high.") l = int(input("low = ")) h = int(input("high = ")) Continue reading
R Programming Task on Matrix
summary_statistics_A <- function(matrix){
vec = sort(as.vector(matrix))
len = length(vec)
if(isSymmetric(matrix) && is.numeric(matrix)){
min = vec[1]
Continue reading
Python Task on Pence Piece Shapes using Tegan the Turtle
from turtle import *
import random
if __name__ == ‘__main__’:
number_coins = int(input(‘Enter a number of coins: ‘)) Continue reading
Engineering Programming Task on EIT moodle
Q 1 – ANSWER :
int first, last;
first=1;
last=10;
for (i=first; i<last; i++)
{
} Continue reading
R Programming Task using the Data Analytics Approach
creditDF <- read.csv(“Downloads/Credit.csv”)
str(creditDF)
# Q1)
# Exploratory Data Analysis Continue reading
Database Task on Baby Names
— Query 1 —
SELECT
SUM(number) AS record_count
FROM
`bigquery-public-data.usa_names.usa_1910_2013` Continue reading
A SQL Task
---------------CREATE CUSTOMER CREATE TABLE CUSTOMER(CUSTOMERID INT NOT NULL PRIMARY KEY, CUSTOMERFIRST VARCHAR(50) NOT NULL, CUSTOMERLAST VARCHAR(50) NOT NULL , CUSTOMERSTREET VARCHAR(50) NOT NULL , Continue reading