Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Create A Powershell Script To Create A User Named: Week10User (provide Whatever Other Details

Create a powershell script to create a user named: Week10User (provide whatever other details that may be required to create the user.) II. Create a script to create a group named: Week10Group III. Create a script to add the user Week10User into the Week10Group. IV. Create a script to create an organizational unit named: Week10OU V. Create a script to delete the user Week10User from the group named Week10Group. VI. Create a script to add a user named Week10User into the Week10OU. VII. Create a script to delete the group named Week10Group.

1a). What Is The Null Terminator? What Is Its Use In C ? B) What

1a). What is the null terminator? What is its use in C ? b) What library do you need to use in your code to use strings in C ? NOTE: XCode may let you get away without this do NOT leave it out you will have issues on the exams if you do.

HTML – CSS – JS – FORM CREATION AND VALIDATION ———————————————————————————————————– A Simple Registration

HTML – CSS – JS – FORM CREATION AND VALIDATION ———————————————————————————————————– a simple registration form. Every visible form input should be labeled with explanatory text(like “Username:” or “Enter Message Here…”). The form should have the following inputs: ————————————————– •Username (a text field) ————————————————– -The user should enter only letters in this field, or the entry is invalid ————————————————– •Password (a password field,) ————————————————– -The user should enter a password containing a mix of upper-­case and lower-­case letters and numbers (at least one of each, or the entry is invalid). Other characters are allowed but optional. ————————————————– •Student ID number (a text field) ————————————————– -The user should enter a 9 digit number. No letters are allowed or the entry is invalid. ————————————————– •Message(a textarea) ————————————————– -The user may enter up to 25 words(note: not characters!). -The field should be disabled if 25 words are entered, such that no other words can be typed into the textarea. This can be accomplished a few different ways. -Text next to the field should count down from 25 to 0 as the user enters words. -The string split() method can be used with a single space “ “ delimiter, or with a regular expression to capture all white space. This is up to you. Both are considered correct. ————————————————– •Submit (a button input type, or a submit input type if you can get this to work without actually submitting the form) ————————————————– When the user presses the Submit button, the form is checked.

Can You Please Explain To Me That Code? Def Show_definition(): Random_value = Choice(list(glossary.values())) Print(‘What

can you please explain to me that code? def show_definition(): random_value = choice(list(glossary.values())) print(‘What word is defined by:’, random_value) input(‘Press return to see the definition’) for key, value in glossary.items(): if value == random_value: print(‘The right definition was:’, key) how work that part? for key, value in glossary.items(): if value == random_value: thank you very much

PYTHON Write A Python Program That Plays A Guess-the-number Game With Magic Lists. The

PYTHON Write a Python program that plays a guess-the-number game with magic lists. The program will play as many games as the user wants. In each game, the program asks the user to think of a number between 1 and 31, inclusive. Then the program presents the user with 5 lists of numbers and asks the user if their number is in the list. Based on the user’s answers of ‘y’ or ‘n’, the program guesses the user’s number. The program works with 5 files, each file contains 16 integers, one number per line. The filenames are: magicList1.txt, magicList2.txt, magicList3.txt, magicList4.txt, and magicList5.txt This is the same as lab5.py. The program is divided into a NumberGuesser class and a main function. (3pts) It might be helpful to open lab5.py since you’ll be using some of the same code in lab5.py for lab6.py. The NumberGuesser class          Create a class named NumberGuesser. (5pts)        The class has 3 methods: (5pts) CreateList function into the constructor of the NumberGuesser class. (15pts) The constructor does the following tasks: Loop 5 times to:      (5pts) Open one magcListN.txt file each time through the loop.    (10pts) Read the 16 numbers from the file into a list. This is the same as in lab5.py.   (15pts) Store the list into an instance attribute named magicLists, which is also a list.   (15pts) By the time the constructor is finished, there should be a magicLists instance attribute which contains 5 magic lists. Write a new printAList method that does the following tasks: (5pts) Receive a magic list as input argument   (10pts) Have a nested loop to print the numbers in the list as 4 rows by 4 columns. This is the same as in lab5.py.     (15pts) Convert the lab5’s checkList function into a checkList method. (5 pts) The method does the following tasks: Loop 5 times to:     (5pts) Call the printAList method to print one magic list at a time    (10pts) Loop to keep asking the user whether their number is in the list, until you get a ‘y’ or ‘n’ answer        (15pts) If the answer is ‘y’, add the value corresponding to the current magic list to the total. (30pts) You’ll need to figure out how to tell the computer what the corresponding value is. Example: 16 is the corresponding value for magic list 1, 8 is the corresponding value for magic list 2, etc. 5 pts extra credit: if you can figure out how to add the corresponding value without using an if statement. The checkList method returns the total.    (5pts) The main function        Write the main function, which is not part of the NumberGuesser class. (5 pts)        The main function will: Create an instance (an object) of the NumberGuesser class.    (15pts) Loop as long as the user wants to play. You decide how the user indicates that they want to play again, such as answer ‘y’ or ‘n’, or any 2 choices that make sense.(15pts). Inside the loop: Call the checkList method to get the total.    (15 pts) If the total is non-zero, then print the user’s number If the total is 0, then print an error message       (10pts) Don’t forget to call the main function so that the program will run.       (10pts) Text files: magicList1.txt 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 magicList2.txt 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 magicList3.txt 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31 magicList4.txt 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31 magicList5.txt 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 Sample Output:

// ——- Fib.h ——– // #ifndef __FIB_H__ #define __FIB_H__ // Pre: N > 0

// ——- fib.h ——– // #ifndef __FIB_H__ #define __FIB_H__ // pre: n > 0 // post: first n numbers of the Fibonacci sequenced are printed to STDOUT void fib(int n); #endif //__FIB_H__ // ——- fib.c ——– // #include “fib.h” #include void fib(int n) { // TODO: implement this function } // ——- main.c ——– // #include “fib.h” #include #include int main(int argc, char **argv) { if (argc != 2) { printf(“usage: %s [print the first n number of the Fibonacci sequence]n”, argv[0]); return EXIT_FAILURE; } int n = atoi(argv[1]); if (n < 1) { n = 1; } fib(atoi(argv[1])); return EXIT_SUCCESS; }

This Program Uses The Map Template Class To Compute A Histogram Of Positive Numbers

This program uses the map template class to compute a histogram of positive numbers entered by the user. The map’s key is the number that is entered, and the value will be a counter of the number of times the key has been entered so far. Note that it uses -1 as a sentinel value to signal the end of user input. Your task is to complete the section of code that uses a constant iterator and traverses through the map outputting “the number … appears … times”, where the (…) are the values from the map via the use of the iterator. Hint: recall that a map uses two reserved words in conjunction with iterators. Follow the code below and write your code to output the histogram. You only need to write that piece of logic. The end of the program after your code is assumed. #include // COMPLETE using namespace std; int main() {    // COMPLETE – Create a map object named histogram.    int num = 0;    cout << "Enter positive numbers. Enter -1 when done." << endl;       //COMPLETE for the programming task    while    {    }    // COMPLETE – Output the histogram    map::const_iterator iter;    for ( )    {        cout << "The number " << << " appears " << << " times." <> ch;    return 0; }

I Would Like To Use Arrays.class, But I Don’t Know How To Use It.

I would like to use Arrays.class, but I don’t know how to use it. Could you help me to use it? The problem is if I put sort 8 7 6 5 4 3 2 1 3000 1000(not separate) in console, I will get 1 2 3 4 5 6 7 8 1000 3000. However, I don’t know how to get it by arrays.class, like arrays.sort. You need to convert from String to Interger. Please don’t change below code. public static void main(String[] args) { Scanner ac= new Scaneer(System.in); String a = “”; System.out.println(“What is sort?”) a = ac.nextLine(); String b = a.split(“ “); if(b[0].equals(“sort”) { // if I tpye sort, it will calculate. } Thank You

1.Create A New Table Named FUNDS For Your Volunteer Database. The FUNDS Table Will

1.Create a new table named FUNDS for your volunteer database. The FUNDS table will be used to track amount of funds raised per week by the volunteers. Write and run SQL INSERT statement to insert at least 10 rows of data into the FUNDS table. 2. Create a new table named HOURS for your volunteer database. The HOURS table will be used to track hours worked per week by the volunteers. Write and run SQL INSERT statements to insert at least 10 rows of data into the HOURS table. 3.Create 3 queries using SQL JOINs involving two or more tables to display information for all volunteers. Submit the text of the queries and results, in addition to screenshots when you turn in the assignment.

Learn About Creating Good Password Security. An IT Security Consultant Has Made Three Primary

Learn About creating good password security. An IT Security consultant has made three primary recommendations regarding passwords: Prohibit guessable passwords such as common names, real words, numbers only require special characters and a mix of caps, lower case and numbers in pws Reauthenticate before changing passwords user must enter old pw before creating new one Make authenticators unforgeable do not allow email or user ID as password Using WORD, write a brief paper of 200-300 words explaining each of these security recommendations. Add additional criteria as you see necesarry.

Upgrade From Windows 7 To Windows 10 Project Section 1: Introduction 1.1. Project

Upgrade from Windows 7 to Windows 10 project Section 1: Introduction 1.1.        Project Overview and Description 1.2.        Organizational Context 1.3.        Business Drivers 1.4.        Solution Architecture 1.5.        Project Success Criteria Section 2: Scope

1) Using Excel VBA A) Write A Macro That Can Generate First 2000 Even

1) Using excel VBA a) write a macro that can generate first 2000 even numbers in a column b) provides fhe sum of all numbers that are multiples of 15 in the column, and display the value in a message box

This Is A Python Question Please Help Me With This I Am Going To

this is a python question please help me with this I am going to provide question codes. class Node: def __init__(self, cargo=None, next=None): self.cargo = cargo self.next = next def __str__(self): return str(self.cargo) class PriorityQueue: def __init__(self): self.items = [] def is_empty(self): return not self.items def insert(self, item): self.items.append(item) def remove(self): maxi = 0 for i in range(1, len(self.items)): if self.items[i] > self.items[maxi]: maxi = i item = self.items[maxi] del self.items[maxi] return item

Using The Draw.io Site Or A Flowcharting Tool Of Your Choice, Create A Flowchart

Using the draw.io site or a flowcharting tool of your choice, create a flowchart that models a complete Java program called StringSlicer that uses methods to: Get a String from the user at the command line Populate an ArrayList of Character data (the wrapper class), with each char in the String represented as a separate Character element in the ArrayList Output each Character to the command line, each on a separate line The flowchart should be sufficiently detailed and follow the standards we’ve showcased in our course. Code is below for the flow chart package stringslicer; import java.util.ArrayList; import java.util.Scanner; /** * Class that contains methods to take input of a String and separate into its * char components */ public class StringSlicer { /** * The main method does not take in arguments from the command line, but * calls methods that allow us to read user input and process it * * @param args unused */ public static void main(String[] args) { String userInput = input(); ArrayList characters = new ArrayList(); process(userInput, characters); output(characters); } public static String input() { Scanner input = new Scanner(System.in); System.out.print(“Enter a String: “); String string1 = input.nextLine(); input.close(); return string1; } public static void process(String aString, ArrayList charArray) { for (int x = 0; x < aString.length(); x ) { charArray.add(aString.charAt(x)); } } public static void output(ArrayList charArray) { for (int x = 0; x < charArray.size(); x ) { System.out.println(charArray.get(x)); } } }

In This Lab You Will Convert Lab5.py To Use Object Oriented Programming Techniques. The

In this lab you will convert lab5.py to use object oriented programming techniques. The createList and checkList functions in lab5.py become methods of the MagicList class, and the main function of lab6.py calls methods of the MagicList class to let the user play the guessing game.                              A. (4pts) Use IDLE to create a lab6.py. Change the 2 comment lines at the top of lab6.py file: First line: your full name Second line: a short description of what the program does B. (243 pts total) Write a Python program that plays a guess-the-number game with magic lists. The program will play as many games as the user wants. In each game, the program asks the user to think of a number between 1 and 31, inclusive. Then the program presents the user with 5 lists of numbers and asks the user if their number is in the list. Based on the user’s answers of ‘y’ or ‘n’, the program guesses the user’s number. The program works with 5 files, each file contains 16 integers, one number per line. The filenames are: magicList1.txt, magicList2.txt, magicList3.txt, magicList4.txt, and magicList5.txt This is the same as lab5.py. The program is divided into a NumberGuesser class and a main function. (3pts) It might be helpful to open lab5.py since you’ll be using some of the same code in lab5.py for lab6.py. The NumberGuesser class          Create a class named NumberGuesser. (5pts)        The class has 3 methods: (5pts) Convert lab5’s createList function into the constructor of the NumberGuesser class. (15pts) The constructor does the following tasks: Loop 5 times to:      (5pts) Open one magcListN.txt file each time through the loop.    (10pts) Read the 16 numbers from the file into a list. This is the same as in lab5.py.   (15pts) Store the list into an instance attribute named magicLists, which is also a list.   (15pts) By the time the constructor is finished, there should be a magicLists instance attribute which contains 5 magic lists. Write a new printAList method that does the following tasks: (5pts) Receive a magic list as input argument   (10pts) Have a nested loop to print the numbers in the list as 4 rows by 4 columns. This is the same as in lab5.py.     (15pts) Convert the lab5’s checkList function into a checkList method. (5 pts) The method does the following tasks: Loop 5 times to:     (5pts) Call the printAList method to print one magic list at a time    (10pts) Loop to keep asking the user whether their number is in the list, until you get a ‘y’ or ‘n’ answer        (15pts) If the answer is ‘y’, add the value corresponding to the current magic list to the total. (30pts) You’ll need to figure out how to tell the computer what the corresponding value is. Example: 16 is the corresponding value for magic list 1, 8 is the corresponding value for magic list 2, etc. 5 pts extra credit: if you can figure out how to add the corresponding value without using an if statement. The checkList method returns the total.    (5pts) The main function        Write the main function, which is not part of the NumberGuesser class. (5 pts)        The main function will: Create an instance (an object) of the NumberGuesser class.    (15pts) Loop as long as the user wants to play. You decide how the user indicates that they want to play again, such as answer ‘y’ or ‘n’, or any 2 choices that make sense.(15pts). Inside the loop: Call the checkList method to get the total.    (15 pts) If the total is non-zero, then print the user’s number If the total is 0, then print an error message       (10pts) Don’t forget to call the main function so that the program will run.       (10pts) C. (10 pts) Test your output by running several games, one after another. The sample output will be the same as with lab5.py Text files: magicList1.txt 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 magicList2.txt 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 magicList3.txt 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31 magicList4.txt 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31 magicList5.txt 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 lab5.py def createList(n):     filename = ‘magicList’ str(n) ‘.txt’     magic_numbers=[]     with open(filename,’r’) as infile:         for number in infile.readlines():             if number.strip() is not ”:                 magic_numbers.append(int(number.strip()))     return magic_numbers def is_number_exist(magic_list):     for i in range(len(magic_list)):         print(‘{0:>3}’.format(magic_list[i]),end=”)         if (i 1)%4==0:             print()     present=input(‘Is your number in the list above? y/n: ‘)     return present def main():     while True:         secret_number=0         for i in range(5):             magic_numbers = createList(i 1)             present=is_number_exist(magic_numbers)             if present==’y’ or present==’Y’:                 secret_number =2**i         print(‘Your number is {}’.format(secret_number))       play_again=input(‘Do you want to play again y/n: ‘)         if play_again==’n’ or play_again==’N’:break     print(‘Thanks. Good Bye!’) main() Sample Output:

1. Consider The Following Page Reference String: 2, 5, 7, 5, 1, 6, 1,

1. Consider the following page reference string: 2, 5, 7, 5, 1, 6, 1, 0, 5, 6, 5, 0, 5, 2, 7, 3, 2, 4, 7, 3 Assuming demand paging with three frames, how many page faults would occur for the following replacement algorithms? Show procedure • Optimal replacement

The Following Page Table Is For A System With 16-bit Virtual And Physical Addresses

The following page table is for a system with 16-bit virtual and physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The page-replacement algorithm is localized LRU, and all numbers are provided in decimal. Page Page Frame Reference Bit 0 7 0 1 − 0 2 15 0 3 13 0 4 14 0 5 8 0 6 − 0 7 0 0 8 4 0 9 9 0 10 1 0 11 − 0 12 2 0 13 3 0 14 − 0 15 5 0 Convert the following virtual addresses (in hexadecimal) to the equivalent physical addresses. You may provide answers in either hexadecimal or decimal. (10 points) Show the calculation steps (10 points) Also set the reference bit for the appropriate entry in the page table. (10 points) • 0xB15C • 0xDA9D • 0x66E8

3. Suppose That A Disk Drive Has 6,000 Cylinders, Numbered 0 To 5999. The

3. Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently serving a request at cylinder 3150, and the previous request was at cylinder 1805. The queue of pending requests, in FIFO order, is: 3722, 2805, 3192, 1939, 658, 1296, 1918, 2152, 1356, 5895, 2528 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for each of the following disk-scheduling algorithms? Show the calculation result. Show the sequence of the position of the head and calculation steps a. SSTF b. SCAN

Consider A File System That Uses Inodes To Represent Files. Disk Blocks Are 32

Consider a file system that uses inodes to represent files. Disk blocks are 32 KB in size, and a pointer to a disk block requires 4 bytes. This file system has 16 direct disk blocks, as well as single, double, and triple indirect disk blocks. What is the maximum size of a file that can be stored in this file system? Show calculation steps.

Time Complexity Of Garbage-collect(x) :— Fully Delete All Freed Objects O(num Freed)

time complexity of garbage-collect(x) :— Fully delete all freed objects O(num freed)

// Main.cpp /* NOTE For Using The LinkedList Test Program This Program Allows Users

// Main.cpp /*   NOTE for using the LinkedList Test Program This program allows users testing their implementation interactively. To properly use this code, you should add the following logics to your LinkedList implementation. Testing Insert Method: The test program will check the functionality of insert method without the second parameter. By defualt, insert the element after the cursor pointing element. If you want to insert an element at different location (before or replace), you should properly provide the second argument, then activate the insert method. */ #include #include “LinkedList.cpp” // Outputs the elements in a list. If the list is empty, outputs // “Empty list”. This operation is intended for testing and // debugging purposes only. template void outList(LinkedList list) {    char tmp;    if (list.empty())        cout << "Empty list" << endl;    else    {        list.gotoBeginning();        do        {            tmp = list.retrieve();            cout << tmp < “;        } while (list.gotoNext());        cout << endl;    } } void main() {    LinkedList testList;       // Test list    char testElement;           // List element    char cmd;                   // Input command    cout << endl << "Commands:" << endl;    cout << " x : Insert x after the current element" << endl;    cout << " – : Remove the current element" << endl;    cout << " @ : Display the current element" << endl;    cout << " < : Go to the beginning of the list" << endl;    cout << " N : Go to the next element" << endl;    cout << " P : Go to the prior element" << endl;    cout << " C : Clear the list" << endl;    cout << " E : Empty list?" << endl;    cout << " Q : Quit the program" << endl;    cout << endl;    do    {        outList(testList);                           // Output list        cout << endl <> cmd;        if ((cmd == ‘ ‘) || (cmd == ‘=’) || (cmd == ‘#’))            cin >> testElement;        switch (cmd)        {        case ‘ ‘:            cout << "Insert " << testElement << endl;            testList.insert(testElement, 0);            break;        case '-':            cout << "Remove the current element" << endl;            testList.remove();            break;        case '@':            cout << "Current element is "                << testList.retrieve() << endl;            break;        case '<':            if (testList.gotoBeginning())                cout << "Go to the beginning of the list" << endl;            else                cout << "Failed — list is empty" << endl;            break;        case 'N': case 'n':            if (testList.gotoNext())                cout << "Go to the next element" << endl;            else                cout << "Failed — either at the end of the list "                << "or the list is empty" << endl;            break;        case 'P': case 'p':            if (testList.gotoPrior())                cout << "Go to the prior element" << endl;            else                cout << "Failed — either at the beginning of the "                << "list or the list is empty" << endl;            break;        case 'C': case 'c':            cout << "Clear the list" << endl;            testList.clear();            break;        case 'E': case 'e':            if (testList.empty())                cout << "List is empty" << endl;            else                cout << "List is NOT empty" << endl;            break;        case 'Q': case 'q':            break;        default:            cout << "Inactive or invalid command" << endl;        }    } while ((cmd != 'Q')

The post Create A Powershell Script To Create A User Named: Week10User (provide Whatever Other Details appeared first on Smashing Essays.

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"