Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

1. Objectives

The main objective of this project is to let you know in more detail the design and description process of a Management Information Base (MIB). A simple case will be studied and treated with the formalism dictated by SMI-v2 described by RFC 1213.

2. Introduction

SMI-v2 uses only a very small subset of ASN.1 and has few templates to formally describe an information base.

RFC 1213 gives the formalism to use a description of a MIB that will be handled with the SNMP protocol. This project will therefore ask you to familiarize yourself with this RFC.

3. Presentation of the context and design of the MIB

You should design a private Management Information Base to supervise a host. The goal is to use SNMP to communicate the information to a network management application and to be able to automatically control the state, generate useful reports and possibly detect performance or security issues.

- What information would be required to manage a host?

- Distinguish between the simple variables and their types, and the tables necessary for this information base.

 

4. Formal description of the MIB

For this part, we will offer you a simplified MIB in the Appendix. According to an informal description, you must format this MIB in accordance with the SMI-v2 standard. Pay particular attention to how a table should be described, and to the DESCRIPTION field of each object.

- Name the module containing the MIB using the following format: studentName-StudentID-MIB,

- Choose the OID (Object Identifier) ​​of each element,

- Define a coherent tree structure,

- Use the ASN.1 syntax for the types of the elements.

-Write the complete MIB in text format using the SMI-v2 standard (refer to the tutorial of SMI)

 5. Appendix

The elements to consider for the design of the MIB are:


1- Percentage of free CPU "freeCPULoad"

2- Percentage of unallocated memory "freeMemoryLoad"

3- If the workstation is an "isWebServer" web server

4- The operating system version "version"

5- The old start date of the "lastHostReboot" system

6- The number of current users that are logged into the "usersNumber" workstation

7- A table of these users: "usersTable"

8- The user's login name, "userId"

9- The date of the opening of the session, "userLoginDate"

 



write a program in python where 2 stick figures are chasing one.


Write a program to print the sum of non-primes in the given N numbers. The numbers which are not primes are considered as non-primes.


Code

DESCRIPTION

HINTS & SOLUTION

SUBMISSIONS

DISCUSS

Temperature Conversion

You are given the temperature T of an object in one of Celsius, Fahrenheit, and Kelvin scales.

Write a program to print T in all scales viz Celsius, Fahrenheit, and Kelvin.

Formula to convert from Fahrenheit F to Celsius C is C = (F - 32) * 5 / 9.

Formula to convert from Kelvin K to Celsius C is C = K - 273.

Here "C", "F", "K" represent that the temperature scale is in Celsius, Fahrenheit and Kelvin scales respectively.

The input contains the temperature (a number) and the unit of the temperature scale (C, F, K) without any space.

The output contains temperature in Celsius, Fahrenheit and Kelvin scales in each line in the format similar to input and the value of the temperature is rounded to 2 decimal places.


How to display Name, age, address, sex, and status in Python? for beginners!!! please enter the code so that I can copy-paste it. THANK YOU


Given the number of rows N, write a program to print the hallow diamond pattern similar to the pattern shown below.

    A
   B B
  C   C
 D     D
E       E
 D     D
  C   C
   B B
    A

The input will be a single line containing a positive integer (N).


Output


The output should be (2*N - 1) rows and (2*N - 1) columns containing the alphabet characters in the hollow diamond pattern.Explanation


For example, if the given number is 5, the pattern should contain 9 rows and 9 columns as shown below.


Sum of Non-Primes

Write a program to print the sum of non-primes in the given N numbers. The numbers which are not primes are considered as non-primes.


Input


The first line of input will contain a positive integer (N).

The following N lines will contain an integer in each line.


Output


The output should be the sum of non-primes in the given numbers.


Explanation


For example, if the given number is 5, then read the inputs in the next 5 lines and print the sum of non-primes in the given five numbers. If the given input integers in the next five lines are 8, 11, 96, 49, and 25 the output should be 8 + 96 + 49 + 25 is 178.


Write a temperature conversion GUI that converts from Fahrenheit to Celsius.


Create a super class called car.


a. The car class has the following fields and methods.


-Intspeed;


-doubleregularPrice;


-stringcolor;


-doublegetSalePrice();


b. Create a sub class of car class and name it as pickup. The following fieldsand methods.


-Intweight;


-doublegetSalePrice()

*** If weight is greater than 2000, 15% discount otherwise 25%


c. Create a sub class and name itas Nissan. The following fields and methods.


-Intyear;


-intmanufacturerDiscount;


-doublegetSalePrice()


***From the sale price computed from car class, subtract the manufacturer discount.


d. Create a sub class and name it as Toyota. The following fieldsand methods.


-Intlength;


-doublegetSalePrice()


***If length is less than 20 feet, 10% discount. Otherwise, 15% discount.


e. Create a MyShop class which contains the main() method. Perform the following within the main() method.


-Create an instance of Toyota class and initialize all the fields with appropriate values. Use super(...) method in the constructor for initializing the fields of the super class.


-Create two instances of the Nissan class and initialize all the fields with appropriate values. Use super(...) method in the constructor for initializing the fields of the super class.


-Create an instance of car class and initialize all the fields with appropriate values. Display the sale prices of all instance.



Write a java program that create a class savacnt, use a static variable anintrate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savbal indicating the amount the saver currently has ondep. Provide method calcmonthint to calculate the monthly interest by multiplying the savbal by anintrate divided by 12 this interest should be added to savbal. Provide a static method modiintrate that sets the anintrate to a new value.


Write a program to test class savacnt. Instantiate two savacnt objects, savel and save2, with balances 4000 and 6000, respectively. Set anintrate to 5%, then calculate the monthly interest and print the new balances for both savers. Then set the anintrate to 6%, calculate the next month's interest and print the new balances for both savers.


LATEST TUTORIALS
APPROVED BY CLIENTS