Discuss two of your own life or work experiences that you feel have enabled you to develop skills which you will be able to transfer to your professional career. You should write about ½ a page on this. Select the responses of 2 of your colleagues to this question, and discuss with each how you think that their life and other work experiences can contribute to their professional skills development. Compare their responses with your own.
note: please solve it as soon as possible, no time for me.
In: Computer Science
The programming language is Java. Write the code you would use to fill the variable cubed with the value stored in x to the third power.
In: Computer Science
What software process models are the best and why ?
and I want 3 well-reasoned statements for not choosing
the models Also, write a short critique of the each process.
There are 3 general process model:
-The waterfall model
-Incremental development
-Integration and configuration
In: Computer Science
Show the machine code corresponding to the Y86 version of the following code. Assume that the code starts at location 0x050. For each statement, list address: code bytes.
int sumInts ( long int n) { /* Add the integers from 1..n. */ long int i; long int sum = 0; for ( i = 1; i <= n; i++ ) { sum += i; } return sum; }
In: Computer Science
Please Answer!!!
In: Computer Science
**Text file**
Kmart, 1450 Summit Avenue, Oconomowoc WI
Sears, 2050 Southgate Rd, Colorado Spgs CO
-----------------------------------------------------------------
Write a function, void getName(char strName[], const char strLine[]), that accepts a string (strLine) encoded in the same format as a line of code in the example file above, and returns the name in strName.
Write a function, void getAddress(char strAddress[], const char strLine[]), that accepts a string (strLine) encoded in the same format as a line of code in the example file above, and returns the address in strAddress.
Write a function, void getCity(char strCity[], const char strLine[]), that accepts a string (strLine) encoded in the same format as a line of code in the example file above, and returns the city in strCity.
Write a function, void getState(char strState[], const char strLine[]), that accepts a string (strLine) encoded in the same format as a line of code in the example file above, and returns the 2-character state abbreviation in strState.
*Please no hard-coded
* C language
In: Computer Science
Create ER diagram for the following:
A database has been designed for a Human Resources for a school in the UK. The database includes records of the teachers and their holidays. The Dean of this school has the power to approve those holidays for all teachers in the school.
For each teacher, Human Resources keeps track of the Teacher's ID, name, Cell phone number(s), total number of holidays for each year, number of unemployed holiday days remaining in the present year, age, date of the employment, Department name.
Some teachers may work as supervisors. For those teachers, as well as the attributes mentioned above, we also keep track of the date when they are supervisors, in addition to the total time they spend to be supervisor and their categorical level (Category 1, Category 2, Category 3, Category 4 or Category 5).
The Human Resources Department in the school keeps track every holiday has been taken by each teacher. For each holiday, The Human Resources keep track, Unique holiday ID, the number of days taken (spent) in this holiday, the start day and end day of a holiday. Sometimes (in a few cases), an alternative phone number may be documented for a holiday.
The Human Resources Department in the school keeps track every reward has been taken by each teacher. For each reward, The Human Resources keep track, Unique Reward ID, the number of rewards, Date of a reward, teacher name and the amount of the reward.
Each holiday is documented for only one teacher. A teacher can take many holidays per year. Each holiday has been approved by many supervisors and each supervisor has the power to approve many holidays for many teachers. Each supervisor has the power to approve the holidays for many teachers and each teacher may have many supervisors and may not. Every supervisor has the power to give many rewards to each teacher, but does not have to reward any. Every teacher can get many rewards every year.
In: Computer Science
There is a technique called “fabrication” constitutes one dimension of social engineering attack. Think of three (successful or unsuccessful) social engineering attack cases that you know from media or from your private life. Describe the cases in narrative form (what happened and how the course of each attack unfolded) and analyze the fabricating elements of the cases. Examine, in what ways the attackers sought to fool the victims. Moreover, in what ways they sought to build confidence and credibility (i.e. make the situation seem valid). What kind of frames was constituted?
In: Computer Science
explain the concept of Corporate Information Security. What is it? Why is it important?
In: Computer Science
C++ program to implement Matrix Class with following requirements,
Classes :- matrix.cpp and main.cpp (to test it) with following requirements: -
Please use Vectors of double.
In: Computer Science
4. Write a program to compute the sum of digits of an integer. For example, given the integer 35931, your program should output 21. (21 is the sum 3 + 5 + 9 + 3 + 1)
PYTHON
In: Computer Science
Reflect on how the concepts and material presented in this foundations of research course can be used in your future professional or academic endeavors. Include a specific example of a concept or assignment that you found most beneficial.
In: Computer Science
Please complete the following functions using C.
------------------------------------------------------------
#include
#include "dynarray.h"
/*
* This is the definition of the dynamic array structure you'll use for your
* implementation. Importantly, your dynamic array implementation will store
* each data element as a void* value. This will permit data of any type to
* be stored in your array. Because each individual element will be stored in
* your array as type void*, the data array needs to be an array of void*.
* Hence it is of type void**.
*
* You should not modify this structure.
*/
struct dynarray {
void** data;
int size;
int capacity;
};
/*
* This function should allocate and initialize a new, empty dynamic array and
* return a pointer to it. The array you allocate should have an initial
* capacity of 2.
*/
struct dynarray* dynarray_create() {
return NULL;
}
/*
* This function should free the memory associated with a dynamic array. In
* particular, while this function should up all memory used in the array
* itself (i.e. the underlying `data` array), it should not free any memory
* allocated to the pointer values stored in the array. In other words, this
* function does not need to *traverse* the array and free the individual
* elements. This is the responsibility of the caller.
*
* Params:
* da - the dynamic array to be destroyed. May not be NULL.
*/
void dynarray_free(struct dynarray* da) {
return;
}
/*
* This function should return the size of a given dynamic array (i.e. the
* number of elements stored in it, not the capacity).
*/
int dynarray_size(struct dynarray* da) {
return 0;
}
/*
* This function should insert a new value to a given dynamic array. For
* simplicity, this function should only insert elements at the *end* of the
* array. In other words, it should always insert the new element immediately
* after the current last element of the array. If there is not enough space
* in the dynamic array to store the element being inserted, this function
* should double the size of the array.
*
* Params:
* da - the dynamic array into which to insert an element. May not be NULL.
* val - the value to be inserted. Note that this parameter has type void*,
* which means that a pointer of any type can be passed.
*/
void dynarray_insert(struct dynarray* da, void* val) {
return;
}
/*
* This function should remove an element at a specified index from a dynamic
* array. All existing elements following the specified index should be moved
* forward to fill in the gap left by the removed element. In other words, if
* the element at index i is removed, then the element at index i+1 should be
* moved forward to index i, the element at index i+2 should be moved forward
* to index i+1, the element at index i+3 should be moved forward to index i+2,
* and so forth.
*
* Params:
* da - the dynamic array from which to remove an element. May not be NULL.
* idx - the index of the element to be removed. The value of `idx` must be
* between 0 (inclusive) and n (exclusive), where n is the number of
* elements stored in the array.
*/
void dynarray_remove(struct dynarray* da, int idx) {
return;
}
/*
* This function should return the value of an existing element a dynamic
* array. Note that this value should be returned as type void*.
*
* Params:
* da - the dynamic array from which to get a value. May not be NULL.
* idx - the index of the element whose value should be returned. The value
* of `idx` must be between 0 (inclusive) and n (exclusive), where n is the
* number of elements stored in the array.
*/
void* dynarray_get(struct dynarray* da, int idx) {
return NULL;
}
/*
* This function should update (i.e. overwrite) the value of an existing
* element in a dynamic array.
*
* Params:
* da - the dynamic array in which to set a value. May not be NULL.
* idx - the index of the element whose value should be updated. The value
* of `idx` must be between 0 (inclusive) and n (exclusive), where n is the
* number of elements stored in the array.
* val - the new value to be set. Note that this parameter has type void*,
* which means that a pointer of any type can be passed.
*/
void dynarray_set(struct dynarray* da, int idx, void* val) {
return;
}
In: Computer Science
in python
This is the animal speaking game. Print the following menu for your user:
------------------------------------
1) Dog
2) Cat
3) Lion
4) Sheep
5) Exit
Please enter a selection.
------------------------------------
If the user enters 1, print("Bark")
If the user enters 2, print("Meow")
If the user enters 3, print("Roar")
If the user enters 4, print("Baah")
If the user enters 5, exit the program.
define functions for each animal. For example:
def dog() :
def cat() :
and so forth ...
When called, each animal function should return a string associated with the animal.
For example, dog() should return "bark" and cat() should return "Meow".
In the main() function, if the user selects selection 1 for dog, call the dog() function and print the return value "bark"
Add error checking code to determine if the user enters a menu
number less than 1 or greater than 5. If so, tell the user
the
correct range of menu selections is 1 - 5.
Be sure to put your name and assignment number at the top of the program in comments.
You should implement the following functions and call them from the main() function
- getUserInput() which prints the menu and returns the user input to the main() function
- dog()
- cat()
- lion()
- sheep()
In: Computer Science
develop a multithreaded version of radix
sort
c language
In: Computer Science