- 博客(21)
- 收藏
- 关注
原创 计算机组成原理编程题
编程题: 设VARY中有一组8位的符号数,编程统计其中 正数、负数、零的个数,分别存 VM、VN、VK变量中。具体程序:stack segment para stack dw 20H dup(0)stack endsdata segment vary db 23h,78h,56h,0abh,00h,0cdh,59h,14h,98h,0efh,00h,0c0hcnt equ $-var...
2018-07-10 23:11:28 697
原创 java实验5
实验名称 第五次实验:类的多态性 一、实验目的: 理解类的多态性,掌握方法的继承、重载和覆盖,掌握如何从键盘输入数据以及多重循环的使用。二、实验要求:1. 编写体现类的多态性(成员方法重载)的程序。 2. 编写构造方法重载的程序。 3. 编写使用键盘来输入数据的程序。4. 编写使用多重循环的程序。 三、实验内容: 一)类的多态性练习1. 理...
2018-07-07 17:55:20 2698
原创 acm问题解答1.4
[description of the problem]There are many ways to make a sum of money with a few coins. For example, 6 coins have a face value of 2, 5, 10, 20, 50, 100. It is used to collect 15 yuan, and can use 5 2...
2018-07-06 23:06:15 139
原创 acm-2229
DescriptionFarmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are an integer power of 2. Here are the possible sets of nu...
2018-07-06 23:06:02 114
原创 Java实验7
实验名称 实验七 流与文件 一、实验目的:1. 理解数据流的概念2. 理解Java流的层次结构3. 理解文件的概念二、实验环境:1. 掌握字节流的基本使用方法2. 掌握字符流的基本使用方法3. 能够创建、读写、更新文件 三、实验内容: (一)使用标准数据流的应用程序 标准数据流指在字符方式下(如DOS 提示符)...
2018-07-06 23:05:52 2424
原创 acm-2109
DescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers among these primes. Work in this area has resulted in the practical use of res...
2018-07-06 23:05:39 83
原创 acm问题解决1.5
[description of the problem]Output multiple of 7 and 7, and figures that contain 7, for example, (17, 27, 37... 70, 71, 72, 73...)[input] an integer N. (N not more than 30000)[output] from 7 to N, the...
2018-07-06 23:05:19 146
原创 acm问题解决1.8
1.8 [description of the problem]There is a floor with a length of N (1<=N<=10). Two different tiles are given: one length is 1, the other is 2, and the number is unlimited. How many different pa...
2018-07-06 23:05:06 143
原创 acm-2575
DescriptionA sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference between successive elements take on all the values 1 through n-1. For instance, 1 4 2 3 ...
2018-07-06 23:04:55 98
原创 acm-2413
DescriptionRecall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range [a,b].In...
2018-07-06 23:04:44 102
原创 计算机组成原理实验1
实验名称2.1运算器组成实验(LK-TEC-9)一、实验目的:1、熟悉逻辑测试笔的使用方法;2、熟悉LK-TEC-9模型计算机的节拍脉冲T1、T3、T3;3、熟悉双端口通用寄存器组的读写操作;4、熟悉运算器的数据传送通路;5、验证74LS181的加、减、与、或功能...
2018-07-06 23:04:19 11998
原创 android逆向之路二十六
我们发现我们在破解一些软件的时候,如果某些参数涉及多个,几个还好,如果是十几个类中呢,那我们每次每个都要去修改一下他的判断,这样子岂不是非常麻烦,那有没有比较简洁的方法呢?答案是有的,我们可以通过对比,在一些软件中每个判断从smail语句翻译成java语句都应该是有着一个boolean值,那么,我们就可以直接根据定位,去修改确定一下他的布尔值,强制定值为某一个真值,那每次要调用这个方法的判断的时候...
2018-07-06 23:04:06 171
原创 acm问题解决1.7
1.7 [description of the problem]The fourth square sum theorem is also known as the Lagrange theorem: every positive integer can be expressed as the sum of squares of at most 4 positive integers. If 0 ...
2018-07-06 22:59:23 153
原创 java实验4
实验名称 第四次实验:修饰符与继承性 一、实验目的:了解如何使用类及其成员的修饰符,理解类的继承性,掌握方法的继承、重载和覆盖。二、实验要求 1. 编写如何使用类及其成员的修饰符的程序。 2. 编写如何通过传递参数来调用方法的程序。3. 编写体现类的继承性(成员变量、成员方法的继承)的程序。三、实验内容: (一)使用修饰符有时需要公开一些变量和方法,有时需要禁止其他对象使用变量和方法,这...
2018-07-06 22:59:12 1121
原创 java实验3
实验名称 Java面向对象编程 一、实验目的: 1. 理解 Java 语言是如何体现面向对象编程基本思想的;2. 掌握类的声明以及对象的创建;3. 了解类的成员变量和成员方法的特性以及类的构造方法的使用。二、实验要求:1. 编写一个长方体类,通过类中的一个成员方法来初始化类中的成员变量,并通过另外一个方法来计算长方体的体积。2. 编写一个帐户类实现银行帐户的概念,创建帐户类...
2018-07-06 22:58:58 2584
原创 计算机网络实验一
实验名称 实验一:常用网络命令操作 一、实验目的:1.学会使用Ping、IPConfig、TraceRt、Netstat、ARP等常用网络命令。2.学会配置网络接口IP属性(IP地址、子网掩码、默认网关)。二、实验环境: 一台装有Cisco Packet Tracer的计算机。三、实验内容:1、设置网络接口为自动获取IP地址方式。运行IPConfig命令...
2018-07-06 22:58:48 29527
原创 acm问题解答1.3
We need to find out the number of numbers with the following properties (including the natural number n of input). First, input a natural number n (n<=1000), and then deal with the natural number a...
2018-07-06 22:54:55 100
原创 acm问题解决1.5
[description of the problem]The snake matrix is a triangular matrix on the basis of natural numbers starting from 1.[input] there are multiple sets of data in the topic, and each group consists of a p...
2018-07-06 22:53:54 84
原创 Java课后实验5.4编程题
题目:设计一个动物声音“模拟器”,希望模拟器可以模拟许多动物的叫声Animal.javapublic abstract class Animal { public abstract void cry(); public abstract String getAnimalName();}Simulator.javapublic class Simulator { public voi...
2018-07-05 22:58:33 295
原创 java实验6
实验名称 第六次实验:包与接口以及常用工具类的使用 一、实验目的:了解 Java 中包(package)和接口(interface)的作用,掌握包和接口的设计方法。掌握Math类,String类和StringBuffer类的使用。二、实验要求:1. 了解 Java 系统包的结构,创建并使用自定义包。 2. 掌握接口的定义与使用。3. 掌握Math类的使用。4. 掌握Stri...
2018-07-04 22:12:07 4809
原创 计算机网络简答题
IP地址、MAC地址、端口号的区别?(哪一层、多少位、作用) mac地址是在数据链路层包裹在以太网头部中的,它主要用来识别同一个链路中的不同计算机。Mac地址即网卡号,每块网卡出厂的时候,都有一个全世界独一无二的 MAC 地址,长度是 48 个二进制位,通常用 12 个十六进制数表示。· IP地址是在网络层的IP头部里,用于识别网络中互联的主机和路由器,其实主要是确认子网,通过子网掩码确认某...
2018-07-03 22:54:02 1252
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人